Since I updated my MODX to 2.6.1, my error log is filled with the following error:
[2018-01-19 03:30:27] (ERROR @ /*corepath*/model/modx/modparser.class.php : 538) Could not find snippet with name GstReminder.
I have not created a snippet of that name and only have three add-ons (WayFinder, getResourceField and UltimateParent) none of which have added any snippets named like that.
Any ideas where this error is coming from?
I just did a text search of the entire MODX 2.6.1 install for GstReminder and nothing showed up.
What plugins do you have installed?
Somewhere on your site there must be a tag for that snippet or code calling it with $modx->runSnippet().
If you turn on Dev. tools (Ctrl-shift-i) and look at the Network tab while loading the page, you might (or might not) get a clue about where it's being called. The 404 should show up. See what's just above it on the list.
As I mentioned I have just the three add-on/plugins installed.
I did narrow down the issue to pages using a specific template, but there is no call for GstReminder in that template (and I don't recall any snippets of that name for previous incarnations of that template). It is a stumper.
But when all else fails, punt ... so I created an empty GstReminder snippet and now MODX is happy. But I am not any closer to solving the origin of the issue and yes I did try reinstalling the update (a couple of times
It could be an extra you installed and removed that didn't get completely uninstalled.
The website has been running in its current form for several years now. There have been content changes, some minor design revisions, but nothing has changed in terms of plug ins or add ons or extras. And the issue only started after the recent update to 2.6.1.
The front end works, pages are being built as expected and the back end works, as we can edit and update content. And my script that fetches and builds a static version of the site functions normally. It just is that unexplained error message, which has been temporarily eliminated through some snippet subterfuge.
Thanks for your suggestions.
I think it's unlikely, but there's a possibility that the site has been hacked. It might be worth a quick look at the index.php files on the site for anything suspicious.
Also, see if there is a user you don't recognize.
discuss.answer
Thanks, but neither of those seem to be present. I think this will go down as a ghost in the server explanation ;-)