Hello again, the above has been working great until now. But when it was time to upgrade Modx to 2.1.3, instead of the page with the snippet, I get the following error
Fatal error: Call to undefined method modX::getDocument() in /home/content/84/8028184/html/core/cache/includes/elements/modsnippet/3.include.cache.php on line 7
If I remove the snippet tag from the page, the rest of the page loads fine, but I add back the snippet tag, it gives the above error. I've tried clearing the core/cache folder but that didn't solve the problem. Any ideas?