Erro de referência de plugin OJS 3.4.1

Prezados, boa tarde.

Atualizei meu OJS recentemente para a versão 3.4.0.1 e estou enfrentando alguns erros.

OJS: 3.4.0.1
PHP 8.1.21

Não é nem erro de fato, mas esses alertas estão consumindo minha memoria e processamento, sendo que muitos dos plug-ins referenciados não estão mais em utilização pela minha equipe, segue log:

[Wed Aug 16 15:56:41.176328 2023] [php:notice] [pid 21797] Exception: Plugin timedView expected to inherit from PKP\plugins\Plugin, actual type NULL in /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php:203\nStack trace:\n#0 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(219): PKP\plugins\PluginRegistry::_instantiatePlugin()\n#1 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(112): PKP\plugins\PluginRegistry::_loadFromDatabase()\n#2 /var/www/html/lib/pkp/classes/core/Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory()\n#3 /var/www/html/lib/pkp/classes/core/PKPApplication.php(373): PKP\core\Dispatcher->dispatch()\n#4 /var/www/html/index.php(21): PKP\core\PKPApplication->execute()\n#5 {main}, referer: http://10.71.50.11/index.php/fisioterapia/management/settings/website?r=64dd126fc23f1
[Wed Aug 16 15:56:41.176610 2023] [php:notice] [pid 21797] Exception: Plugin referral expected to inherit from ReferralPlugin, actual type NULL in /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php:203\nStack trace:\n#0 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(219): PKP\plugins\PluginRegistry::_instantiatePlugin()\n#1 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(112): PKP\plugins\PluginRegistry::_loadFromDatabase()\n#2 /var/www/html/lib/pkp/classes/core/Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory()\n#3 /var/www/html/lib/pkp/classes/core/PKPApplication.php(373): PKP\core\Dispatcher->dispatch()\n#4 /var/www/html/index.php(21): PKP\core\PKPApplication->execute()\n#5 {main}, referer: http://10.71.50.11/index.php/fisioterapia/management/settings/website?r=64dd126fc23f1
[Wed Aug 16 15:56:41.177026 2023] [php:notice] [pid 21797] Exception: Plugin plumAnalytics expected to inherit from PlumAnalyticsPlugin, actual type NULL in /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php:203\nStack trace:\n#0 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(219): PKP\plugins\PluginRegistry::_instantiatePlugin()\n#1 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(112): PKP\plugins\PluginRegistry::_loadFromDatabase()\n#2 /var/www/html/lib/pkp/classes/core/Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory()\n#3 /var/www/html/lib/pkp/classes/core/PKPApplication.php(373): PKP\core\Dispatcher->dispatch()\n#4 /var/www/html/index.php(21): PKP\core\PKPApplication->execute()\n#5 {main}, referer: http://10.71.50.11/index.php/fisioterapia/management/settings/website?r=64dd126fc23f1
[Wed Aug 16 15:56:41.177081 2023] [php:notice] [pid 21797] Exception: Plugin openAIRE expected to inherit from OpenAIREPlugin, actual type NULL in /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php:203\nStack trace:\n#0 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(219): PKP\plugins\PluginRegistry::_instantiatePlugin()\n#1 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(112): PKP\plugins\PluginRegistry::_loadFromDatabase()\n#2 /var/www/html/lib/pkp/classes/core/Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory()\n#3 /var/www/html/lib/pkp/classes/core/PKPApplication.php(373): PKP\core\Dispatcher->dispatch()\n#4 /var/www/html/index.php(21): PKP\core\PKPApplication->execute()\n#5 {main}, referer: http://10.71.50.11/index.php/fisioterapia/management/settings/website?r=64dd126fc23f1
[Wed Aug 16 15:56:41.177129 2023] [php:notice] [pid 21797] Exception: Plugin pln expected to inherit from PLNPlugin, actual type NULL in /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php:203\nStack trace:\n#0 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(219): PKP\plugins\PluginRegistry::_instantiatePlugin()\n#1 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(112): PKP\plugins\PluginRegistry::_loadFromDatabase()\n#2 /var/www/html/lib/pkp/classes/core/Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory()\n#3 /var/www/html/lib/pkp/classes/core/PKPApplication.php(373): PKP\core\Dispatcher->dispatch()\n#4 /var/www/html/index.php(21): PKP\core\PKPApplication->execute()\n#5 {main}, referer: http://10.71.50.11/index.php/fisioterapia/management/settings/website?r=64dd126fc23f1
[Wed Aug 16 15:56:41.177189 2023] [php:notice] [pid 21797] Exception: Plugin addThis expected to inherit from AddThisPlugin, actual type NULL in /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php:203\nStack trace:\n#0 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(219): PKP\plugins\PluginRegistry::_instantiatePlugin()\n#1 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(112): PKP\plugins\PluginRegistry::_loadFromDatabase()\n#2 /var/www/html/lib/pkp/classes/core/Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory()\n#3 /var/www/html/lib/pkp/classes/core/PKPApplication.php(373): PKP\core\Dispatcher->dispatch()\n#4 /var/www/html/index.php(21): PKP\core\PKPApplication->execute()\n#5 {main}, referer: http://10.71.50.11/index.php/fisioterapia/management/settings/website?r=64dd126fc23f1
[Wed Aug 16 15:56:41.177521 2023] [php:notice] [pid 21797] Exception: Plugin coins expected to inherit from CoinsPlugin, actual type NULL in /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php:203\nStack trace:\n#0 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(219): PKP\plugins\PluginRegistry::_instantiatePlugin()\n#1 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(112): PKP\plugins\PluginRegistry::_loadFromDatabase()\n#2 /var/www/html/lib/pkp/classes/core/Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory()\n#3 /var/www/html/lib/pkp/classes/core/PKPApplication.php(373): PKP\core\Dispatcher->dispatch()\n#4 /var/www/html/index.php(21): PKP\core\PKPApplication->execute()\n#5 {main}, referer: http://10.71.50.11/index.php/fisioterapia/management/settings/website?r=64dd126fc23f1
[Wed Aug 16 15:56:41.177584 2023] [php:notice] [pid 21797] Exception: Plugin defaultTranslation expected to inherit from DefaultTranslationPlugin, actual type NULL in /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php:203\nStack trace:\n#0 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(219): PKP\plugins\PluginRegistry::_instantiatePlugin()\n#1 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(112): PKP\plugins\PluginRegistry::_loadFromDatabase()\n#2 /var/www/html/lib/pkp/classes/core/Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory()\n#3 /var/www/html/lib/pkp/classes/core/PKPApplication.php(373): PKP\core\Dispatcher->dispatch()\n#4 /var/www/html/index.php(21): PKP\core\PKPApplication->execute()\n#5 {main}, referer: http://10.71.50.11/index.php/fisioterapia/management/settings/website?r=64dd126fc23f1
[Wed Aug 16 15:56:46.579807 2023] [php:notice] [pid 21797] Exception: Plugin donation expected to inherit from DonationBlockPlugin, actual type NULL in /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php:203\nStack trace:\n#0 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(219): PKP\plugins\PluginRegistry::_instantiatePlugin()\n#1 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.php(112): PKP\plugins\PluginRegistry::_loadFromDatabase()\n#2 /var/www/html/lib/pkp/classes/template/PKPTemplateManager.php(1440): PKP\plugins\PluginRegistry::loadCategory()\n#3 [internal function]: PKP\template\PKPTemplateManager->displaySidebar()\n#4 /var/www/html/lib/pkp/classes/plugins/Hook.php(140): call_user_func_array()\n#5 /var/www/html/lib/pkp/classes/plugins/Hook.php(113): PKP\plugins\Hook::run()\n#6 /var/www/html/lib/pkp/classes/template/PKPTemplateManager.php(1740): PKP\plugins\Hook::call()\n#7 /var/www/html/cache/t_compile/00a0a0910209607cb33eb0fe6474f30ed7399ed7^4dffb64063bb972c37e05619a2ccd9d0ea7473ac_0.app.frontendcomponentsfooter.tpl.php(29): PKP\template\PKPTemplateManager->smartyCallHook()\n#8 /var/www/html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64a86f907c20e9_74318526()\n#9 /var/www/html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()\n#10 /var/www/html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()\n#11 /var/www/html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()\n#12 /var/www/html/cache/t_compile/00a0a0910209607cb33eb0fe6474f30ed7399ed7^e64e579388e5615e11e939b12134d6ae8679eba6_0.app.frontendpagesindexJournal.tpl.php(130): Smarty_Internal_Template->_subTemplateRender()\n#13 /var/www/html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64a86f8fcc6666_20944434()\n#14 /var/www/html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()\n#15 /var/www/html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()\n#16 /var/www/html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()\n#17 /var/www/html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute()\n#18 /var/www/html/lib/pkp/classes/template/PKPTemplateManager.php(1325): Smarty_Internal_TemplateBase->display()\n#19 /var/www/html/pages/index/IndexHandler.php(80): PKP\template\PKPTemplateManager->display()\n#20 [internal function]: APP\pages\index\IndexHandler->index()\n#21 /var/www/html/lib/pkp/classes/core/PKPRouter.php(334): call_user_func()\n#22 /var/www/html/lib/pkp/classes/core/PKPPageRouter.php(277): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest()\n#23 /var/www/html/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPPageRouter->route()\n#24 /var/www/html/lib/pkp/classes/core/PKPApplication.php(373): PKP\core\Dispatcher->dispatch()\n#25 /var/www/html/index.php(21): PKP\core\PKPApplication->execute()\n#26 {main}, referer: http://10.71.50.11/index.php/fisioterapia/management/settings/website?r=64dd126fc23f1

Desde já, obrigada.

Olá @Ingrid1

Esses plugins referenciados foram removidos? Como foi que pararam de usar?

Israel

Olá @israel.cefrin,

Não, acredito que simplesmente parou de funcionar em algumas das versões anteriores e ficou como “lixo” e hoje está trazendo esses logs todos.
A exemplo do ReferralPlugin e coins, não acho eles na administração do Portal (nem em plugins instalados e nem na galeria de plugins).
Mas ambos são apresentados diariamente no arquivo de log, olhei na pasta dos plugins (caminho: /var/www/html/plugins) e não encontrei nenhum desses.
Alguma sugestão?

Desde já, obrigada.

Olá @Ingrid1

Você já tentou retirar as referências a esses plugins da sua tabela versions na base de dados? É possível que eles estejam lá ainda e ativados. O que pode estar causando esses avisos no seu log do servidor.

Israel

1 Like

Obrigada, isso resolveu o problema.