In preparation for upgrading to 3.0.5 I upgraded two extras, Guzzle and Version X and now find that when I tried to edit a resource that the Save, Duplicate, Close etc links have all gone missing. I had already done this and upgraded my test site without a problem
There were no errors in the install logs for either upgrade but it seems that I have loads of unnoticed errors in the main error log. This one is persistent
[2024-07-25 14:27:39] (ERROR @ /home/teignmou/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name dummyTime.
but I also have errors from around the time I did the upgrades to the two extras mostly with xPDO\xPDOConnection.
I am at a loss. Obviously I could resort to back up
Maybe try a hard refresh in the browser (to be sure that the browser uses the current JS files and not something from the browser cache).
If the problem persists, temporarily deactivate the plugins from the upgraded extras (under “Elements” → “Plugins” select the plugin and change the value of the “Deactivate Plugin” checkbox) to see which one is the culprit.
Somewhere on one of your pages there is a snippet tag [[dummyTime]]
(or [[!dummyTime]]
) and the MODX parser can find the matching snippet.
Many thanks. Difficult to think when you are panicking. Hard refresh solved the problem.
The snippet problem will be like looking for a needle in a haystack but at least I can guess which haystacks I need to search.
Once again you have saved me from despair.
The Search in MODX 3 is really good, if you put in “dummyTime” it will list the resources it is in, as well as any chunks etc. If there are too many results, I would go into phpMyAdmin and do a find and replace on it if you no longer need the snippet.
MODX is pretty good at finding needles