Try to install externalFeedPlugin ojs 3.1.2-1

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,

@eddoff

Hi @eddoff,

That plugin isn’t ready for use. Watch Forward-port External Feed plugin to OJS 3 · Issue #2027 · pkp/pkp-lib · GitHub for information on its status.

Regards,
Alec Smecher
Public Knowledge Project Team

thank you @asmecher!

Nothing seems to have happened for this plugin since beginning of 2018. When do you think you have a working version to ojs 3.1.x?

@eddoff

Hi @eddoff,

We haven’t had any demand for that plugin (until now), so it hasn’t been a priority. However, I recently asked one of our devs to look it over, so you may see some progress on it shortly.

Regards,
Alec Smecher
Public Knowledge Project Team

I just got a similar error:

Call to undefined method Application::get() in */plugins/generic/customLocale/CustomLocalePlugin.inc.php:28

when trying to install the Custom Locale plugin as well. Is that plugin not ready for use yet either?

1 Like