Post installation failure OMP 3.2.1

We are having issues after installing the web feed plugin on OMP 3.2.1. We are getting HTTP ERROR 500 and the error log has the following:

[12-Aug-2020 03:58:42 UTC] PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /home/science/plugins/generic/webFeed/WebFeedPlugin.inc.php:74
Stack trace:
#0 /home/science/lib/pkp/classes/plugins/HookRegistry.inc.php(107): WebFeedPlugin->callbackAddLinks(‘TemplateManager…’, Array)
#1 /home/science/lib/pkp/classes/template/PKPTemplateManager.inc.php(906): HookRegistry::call(‘TemplateManager…’, Array)
#2 /home/science/lib/pkp/pages/admin/AdminHandler.inc.php(107): PKPTemplateManager->display(‘admin/settings…’)
#3 /home/science/lib/pkp/classes/core/PKPRouter.inc.php(391): AdminHandler->settings(Array, Object(Request))
#4 /home/science/lib/pkp/classes/core/PKPPageRouter.inc.php(231): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)
#5 /home/science/lib/pkp/classes/core/Dispatcher.inc.php(143): PKPPageRouter->ro in /home/science/plugins/generic/webFeed/WebFeedPlugin.inc.php on line 74
[12-Aug-2020 03:58:49 UTC] PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /home/science/plugins/generic/webFeed/WebFeedPlugin.inc.php:74

Please help and suggest.

Hi @pcansf,

What specific release of OJS 3.2.1 are you using?

Regards,
Alec Smecher
Public Knowledge Project Team

OMP 3.2.1.1 is the version we are trying to install.

Hi @pcansf,

It looks like you’re trying to enable the Web Feed plugin site-wide (as opposed to within a single journal), and that plugin doesn’t support site-wide operation. (See https://github.com/pkp/pkp-lib/issues/1923 for a bug entry filed to fix this.) I would recommend disabling the plugin, and only enabling it within each specific journal’s plugins area.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Thank you. Since we couldn’t get to the admin page because of the HTTP ERROR 500, we ended up deleting the plugin folder for Web Feed from the back end which resolved the issue.

Hi @pcansf,

That’ll solve the problem, unless you want to use that plugin later. If you do, look for an entry for the plugin in the plugin_settings database table with setting_name = 'enabled' and context_id = 0. If you see that, remove it and flush your files cache to ensure that OJS is using the most recent data.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like