-
- 54 Posts
It also seems to have broken editing pages in ModX. If I try and edit a page now i just get a blank white screen, and the PHP error log contains:
"PHP Fatal error: Call to a member function addLexiconTopic() on a non-object in /core/cache/elements/modplugin/4.include.cache.php on line 56"
I've removed Gallery from the plugins, and cleared the site cache, but this still happens. If I open the file above, it is related to Gallery - the comments at the top says " Handles plugin events for Gallery's Custom TV".
Any ideas take two ? I'd quite like to just get this back so I can edit pages again!
cheers!
-
- 24,544 Posts
Try deleting all files in the core/cache directory if you haven't already. The Gallery plugin may still be in the cache. Clearing your browser cache and cookies might also help.
-
- 54 Posts
Clearing the cache manually didn't work I'm afraid, but I also removed a folder called "gallery" I found in core/components, cleared the cache again, and can now edit my site again.
Any ideas about why Gallery won't install? The error "Call to undefined method xPDOManager_mysql::addField() " suggests it doesn't like my version of ModX because it can't find a method it is expecting, but the Gallery docs say it's supported on the version I'm running...
-
- 54 Posts
OK, so I found the file I think it's referring to - core\xpdo\om\mysql\xpdomanager.class.php - and it doesn't contain the method "addField" as per the error message. The file in latest version of ModX *does* contain that method, so it looks like the Gallery docs are wrong on the versions of ModX they support.
I'll see if I can upgrade my ModX instance and file a Gallery bug report.