I try to install the externalFeedPlugin in ojs 3.1.2-1.
In the downloaded version of OJS from https://pkp.sfu.ca/ojs/ojs_download/ this plugin is not included. So I downloaded it from GitHub, and put it in plugins/generic folder. The plugin list is loaded, but when I have activated it in the plugins list in the settings > website >plugins page then the whole journal is broken! I can not load anything! When I remove the externalFeed folder it works again… However, I can not find the error! Please help me! I have tried with both the stable version and the master version from GitHub.
Here is the php error log:
[Wed Sep 11 10:29:55.087818 2019] [php7:warn] [pid 9849] [client xxx.xxx.xxx.xxx:10309] PHP Warning: Declaration of RemoveInfoForAuthorPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /var/www/html/journal/plugins/generic/RemoveInfoForAuthor/RemoveInfoForAuthor.inc.php on line 135, referer: https://domain.com/journalA/submissions
[Wed Sep 11 10:29:55.117279 2019] [php7:error] [pid 9849] [client xxx.xxx.xxx.xxx:10309] PHP Fatal error: Uncaught Error: Call to undefined method Application::get() in /var/www/html/journal/plugins/generic/externalFeed/ExternalFeedPlugin.inc.php:31\nStack trace:\n#0 /var/www/html/journal/lib/pkp/classes/plugins/PluginRegistry.inc.php(65): ExternalFeedPlugin->register('generic', 'plugins/generic...', NULL)\n#1 /var/www/html/journal/lib/pkp/classes/plugins/PluginRegistry.inc.php(138): PluginRegistry::register('generic', Object(ExternalFeedPlugin), 'plugins/generic...', NULL)\n#2 /var/www/html/journal/lib/pkp/classes/core/Dispatcher.inc.php(132): PluginRegistry::loadCategory('generic', true)\n#3 /var/www/html/journal/lib/pkp/classes/core/PKPApplication.inc.php(252): Dispatcher->dispatch(Object(Request))\n#4 /var/www/html/journal/index.php(68): PKPApplication->execute()\n#5 {main}\n thrown in /var/www/html/journal/plugins/generic/externalFeed/ExternalFeedPlugin.inc.php on line 31, referer: https://domain.com/journalA/submissions
[Wed Sep 11 10:29:56.264013 2019] [php7:warn] [pid 2381] [client xxx.xxx.xxx.xxx:10314] PHP Warning: Declaration of RemoveInfoForAuthorPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /var/www/html/journal/plugins/generic/RemoveInfoForAuthor/RemoveInfoForAuthor.inc.php on line 135, referer: https://domain.com/journalA/submissions
[Wed Sep 11 10:29:56.292170 2019] [php7:error] [pid 2381] [client xxx.xxx.xxx.xxx:10314] PHP Fatal error: Uncaught Error: Call to undefined method Application::get() in /var/www/html/journal/plugins/generic/externalFeed/ExternalFeedPlugin.inc.php:31\nStack trace:\n#0 /var/www/html/journal/lib/pkp/classes/plugins/PluginRegistry.inc.php(65): ExternalFeedPlugin->register('generic', 'plugins/generic...', NULL)\n#1 /var/www/html/journal/lib/pkp/classes/plugins/PluginRegistry.inc.php(138): PluginRegistry::register('generic', Object(ExternalFeedPlugin), 'plugins/generic...', NULL)\n#2 /var/www/html/journal/lib/pkp/classes/core/Dispatcher.inc.php(132): PluginRegistry::loadCategory('generic', true)\n#3 /var/www/html/journal/lib/pkp/classes/core/PKPApplication.inc.php(252): Dispatcher->dispatch(Object(Request))\n#4 /var/www/html/journal/index.php(68): PKPApplication->execute()\n#5 {main}\n thrown in /var/www/html/journal/plugins/generic/externalFeed/ExternalFeedPlugin.inc.php on line 31, referer: https://domain.com/journalA/submissions
[Wed Sep 11 10:29:56.647527 2019] [php7:warn] [pid 7678] [client xxx.xxx.xxx.xxx:10316] PHP Warning: Declaration of RemoveInfoForAuthorPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /var/www/html/journal/plugins/generic/RemoveInfoForAuthor/RemoveInfoForAuthor.inc.php on line 135, referer: https://domain.com/journalA/submissions
[Wed Sep 11 10:29:56.675512 2019] [php7:error] [pid 7678] [client xxx.xxx.xxx.xxx:10316] PHP Fatal error: Uncaught Error: Call to undefined method Application::get() in /var/www/html/journal/plugins/generic/externalFeed/ExternalFeedPlugin.inc.php:31\nStack trace:\n#0 /var/www/html/journal/lib/pkp/classes/plugins/PluginRegistry.inc.php(65): ExternalFeedPlugin->register('generic', 'plugins/generic...', NULL)\n#1 /var/www/html/journal/lib/pkp/classes/plugins/PluginRegistry.inc.php(138): PluginRegistry::register('generic', Object(ExternalFeedPlugin), 'plugins/generic...', NULL)\n#2 /var/www/html/journal/lib/pkp/classes/core/Dispatcher.inc.php(132): PluginRegistry::loadCategory('generic', true)\n#3 /var/www/html/journal/lib/pkp/classes/core/PKPApplication.inc.php(252): Dispatcher->dispatch(Object(Request))\n#4 /var/www/html/journal/index.php(68): PKPApplication->execute()\n#5 {main}\n thrown in /var/www/html/journal/plugins/generic/externalFeed/ExternalFeedPlugin.inc.php on line 31, referer: https://domain.com/journalA/submissions
Best regards,