I went through this same thing last fall with my pup, at about the same age. On and off diarrhea for about 3 weeks. Lots of expensive antibiotics.

Turns out he was eating mushrooms in the back...