Hi there,
Thanks so much for using our trouble in the enclosure template, let’s take a look at the husbandry.
so first thing is that your enclosure is actually too big at the moment. For an adult pacman frog it would be perfect, but for a baby it’s actually better to keep them in a smaller bin or critter keeper, too much empty space can stress them out and cause them to not eat
your temperature is mostly fine, but may be a little on the high side, probably not causing the issue but periods of having it be around 75-78 degrees wouldn’t hurt.
As long as your bottled water doesn’t have any chemicals or chlorine in it you should be fine
mealworms are not the best nutrition for frogs because the chitin that composes their exoskeletons is too thick to digest, it doesn’t sound like impaction is the issue here but definitely something to keep in mind.
it is important to make sure that you dust their food, of course since the frog isn’t eating at all you have to cross that bridge first, but when it hopefully starts eating normally again make sure you do your best to incorporate that, if not then gut loading the roaches is best.
I would recommend taking the poop you found to a vet to get a fecal test done.
lastly make sure that the substrate is uniformly moist but not soaking wet. It looks like there are some dry patches in yours and this will draw moisture out of your frog’s body.
oh and also make sure your heat pad is attached to the side of the tank not to the bottom, these frogs burrow to cool down and may get burned if it’s at the bottom
it sounds like your frog may just be stressed, i recommend getting that fecal test done and making some of those adjustments, allow it time to settle down without handling or moving too much, and see if he eats in a few days. If he starts losing significant weight or if anything symptoms become particularly alarming i would then say a vet visit is necessary