not sure if its the problem but In the ditto call your missing the ’&’ in front of total=`all`
Thanks for catching that. I fixed the typo but there was no effect on the error.
A bit more about my situation: On one page, I have a general index, which has a ditto call and a reflect call. The ditto call pulls all children of the page we’re on (with a couple filtered out). The reflect call pulls a list of months (wordpress config) with the target id set to the page we’re on . Both calls have the same $id. The page is uncached, the calls are cached. Another menu gives links for available tags. These links go to individual pages, each with a ditto call filtering results by tag.
Now, this main page works fine.
However, the problem is on these individual pages for each tag. These pages contain the exact same calls as the main page, except that the Ditto call contains the tag parameters. On these pages, the Reflect call gives the above error.
Nothing I change in either call seems to have any effect.