fasken
December 30, 2024, 9:45am
1
Hello,
I noticed an OpenGraph plugin update was available, so I clicked to update it.
After the update, OJS ‘crashed’ with a 500 error.
I accessed the MySQL database and disabled the OpenGraph plugin, which restored OJS functionality.
However, now the Settings > Website > Plugins > Installed Plugins page loads indefinitely.
I use OJS 3.3.0-4
Thank you for your support!
Hi @fasken ,
In cases such as this, it is best to check your PHP error log to get an idea of the messages stored there. Are you able to do that and report back on what error messages you encounter?
-Roger
PKP Team
fasken
January 1, 2025, 10:00pm
4
Hi @rcgillis ,
Thank you for your support. Below is a section of the error log. The same errors appear repeatedly for multiple plugins.
[01-Jan-2025 22:49:10 Europe/Amsterdam] Exception: Plugin nlm30 expected to inherit from PKP\plugins\Plugin, actual type NULL in …/ojs/lib/pkp/classes/plugins/PluginRegistry.php:203
Stack trace:
#0 …/ojs/lib/pkp/classes/plugins/PluginRegistry.php(219): PKP\plugins\PluginRegistry::_instantiatePlugin()
#1 …/ojs/lib/pkp/classes/plugins/PluginRegistry.php(112): PKP\plugins\PluginRegistry::_loadFromDatabase()
#2 …/ojs/plugins/generic/citationStyleLanguage/pages/CitationStyleLanguageHandler.php(143): PKP\plugins\PluginRegistry::loadCategory()
#3 …/ojs/plugins/generic/citationStyleLanguage/pages/CitationStyleLanguageHandler.php(74): APP\plugins\generic\citationStyleLanguage\pages\CitationStyleLanguageHandler->_setupRequest()
#4 [internal function]: APP\plugins\generic\citationStyleLanguage\pages\CitationStyleLanguageHandler->get()
#5 …/ojs/lib/pkp/classes/core/PKPRouter.php(334): call_user_func()
#6 …/ojs/lib/pkp/classes/core/PKPPageRouter.php(277): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest()
#7 …/ojs/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPPageRouter->route()
#8 …/ojs/lib/pkp/classes/core/PKPApplication.php(388): PKP\core\Dispatcher->dispatch()
#9 …/ojs/index.php(25): PKP\core\PKPApplication->execute()
#10 {main}
Thanks
Hi @fasken ,
You appear to have some old/bad data in your DB related to the removed nlm30
plugin. There is an SQL command to clean this up e.g. on this thread . I’m not sure why restoring from backup would cause this problem – unless the backup contains old data that wasn’t in your production install?
Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
Closed
January 13, 2025, 4:00pm
8
This topic was automatically closed after 10 days. New replies are no longer allowed.