She's a chihuahua, so maybe he could get her a child's playpen with a roll of sod to poop on at night since it sounds like she's well housebroken and doesn't want to poop inside. The only thing I can think of is getting her an x-ray of her insides if she hasn't already. It could be something physical like an internal hernia