Plugins instalados e Galeria de Plugins não carrega

Olá
Em uma das Revistas do Portal de Periódicos da Unir os plugins não são carregados nos menus e nem os usuários vinculados a ela.
Caminho: Administração > Revistas hospedadas > Assistente de Configurações > Plugins.

Na página da Revista é apresentado este erro:
Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/default/DefaultThemePlugin.inc.php on line 163

Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 161

Versão Atual: 3.3.0.11
Sistema Operacional Linux
Versão do PHP 7.4.33
Versão do Apache Apache/2.4.56 (Debian)
Driver do banco de dados pgsql
Versão do servidor de banco de dados 13.11 (Debian 13.11-0+deb11u1)

1 curtida

@wilfredosantiago35 você tem acesso ao arquivo de log de erro no servidor? Lá tem mais informações sobre o que está acontecendo.

Uma outra coisa que precisa ser corrigida, é que os notices e outras mensagens não devem ser mostradas na página da revista, mas no log do servidor. Então tem que desabilitar o “display_erro” para não apresentar na interface do OJS.

Não entendi bem o que você quis dizer com “nem os usuários vinculados a ela”. Não existem usuários cadastrados na revista ou existem e na aba de Usuários você não os vê?

boa tarde, @bernardo. Obrigado pelo interesse.

  1. segue o log

[Mon Feb 26 15:06:49.777565 2024] [php7:notice] [pid 1390] [client 52.233.106.182:34813] ojs2: 404 Not Found
[Mon Feb 26 15:07:46.006763 2024] [php7:warn] [pid 1545] [client 131.221.54.27:1091] PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/www/html/periodicos.unir.br/plugins/>[Mon Feb 26 15:08:05.868097 2024] [php7:warn] [pid 1638] [client 131.221.54.27:1031] PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/www/html/periodicos.unir.br/plugins/>[Mon Feb 26 15:09:13.027765 2024] [php7:notice] [pid 1638] [client 52.233.106.182:14409] ojs2: 404 Not Found
[Mon Feb 26 15:10:09.038575 2024] [php7:notice] [pid 1503] [client 52.233.106.182:17031] ojs2: 404 Not Found
[Mon Feb 26 15:10:36.609457 2024] [php7:notice] [pid 1645] [client 52.233.106.182:15183] ojs2: 404 Not Found
[Mon Feb 26 15:11:53.822267 2024] [php7:notice] [pid 1503] [client 52.233.106.57:43246] ojs2: 404 Not Found
[Mon Feb 26 15:12:06.433436 2024] [php7:notice] [pid 1645] [client 52.233.106.57:44838] ojs2: 404 Not Found
[Mon Feb 26 15:12:48.023157 2024] [php7:warn] [pid 1638] [client 47.128.122.152:38756] PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/www/html/periodicos.unir.br/plugin>[Mon Feb 26 15:13:21.918762 2024] [php7:notice] [pid 1605] [client 52.233.106.57:45135] ojs2: 404 Not Found
[Mon Feb 26 15:13:25.968595 2024] [php7:error] [pid 1390] [client 47.128.18.163:63054] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Sokil\IsoCodes\Database\Countries::getByAlpha2() must be of>
[Mon Feb 26 15:14:22.437297 2024] [php7:notice] [pid 1605] [client 47.128.16.126:58838] PHP Notice: unserialize(): Error at offset 0 of 28 bytes in /var/www/html/periodicos.unir.br/lib/pkp/classes/db/DAO.inc>
[Mon Feb 26 15:14:23.870914 2024] [php7:notice] [pid 1605] [client 47.128.16.126:58838] PHP Notice: unserialize(): Error at offset 0 of 28 bytes in /var/www/html/periodicos.unir.br/lib/pkp/classes/db/DAO.inc>
[Mon Feb 26 15:14:24.626689 2024] [php7:error] [pid 1605] [client 47.128.16.126:58838] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Sokil\IsoCodes\Database\Countries::getByAlpha2() must be of>
[Mon Feb 26 15:14:24.988591 2024] [php7:notice] [pid 1390] [client 47.128.19.114:51794] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defa>
[Mon Feb 26 15:14:24.989919 2024] [php7:notice] [pid 1390] [client 47.128.19.114:51794] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager>
[Mon Feb 26 15:14:25.447255 2024] [php7:notice] [pid 1390] [client 47.128.19.114:51794] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defa>[Mon Feb 26 15:14:25.448537 2024] [php7:notice] [pid 1390] [client 47.128.19.114:51794] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager>[Mon Feb 26 15:14:55.835110 2024] [php7:notice] [pid 1808] [client 47.128.57.177:41456] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defa>[Mon Feb 26 15:14:55.836610 2024] [php7:notice] [pid 1808] [client 47.128.57.177:41456] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager>[Mon Feb 26 15:14:56.307316 2024] [php7:notice] [pid 1808] [client 47.128.57.177:41456] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defa>[Mon Feb 26 15:14:56.308714 2024] [php7:notice] [pid 1808] [client 47.128.57.177:41456] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager>[Mon Feb 26 15:15:39.970384 2024] [php7:notice] [pid 1646] [client 52.233.106.57:45733] ojs2: 404 Not Found
[Mon Feb 26 15:15:48.527188 2024] [php7:notice] [pid 1564] [client 85.208.96.201:15584] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defa>[Mon Feb 26 15:15:48.528553 2024] [php7:notice] [pid 1564] [client 85.208.96.201:15584] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager>[Mon Feb 26 15:16:13.749686 2024] [php7:notice] [pid 1574] [client 172.16.10.10:53855] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defau>[Mon Feb 26 15:16:13.751047 2024] [php7:notice] [pid 1574] [client 172.16.10.10:53855] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager.>[Mon Feb 26 15:16:18.541328 2024] [php7:notice] [pid 1605] [client 47.128.49.132:59202] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defa>[Mon Feb 26 15:16:18.542777 2024] [php7:notice] [pid 1605] [client 47.128.49.132:59202] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager>[Mon Feb 26 15:16:19.007880 2024] [php7:notice] [pid 1605] [client 47.128.49.132:59202] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defa>[Mon Feb 26 15:16:19.009252 2024] [php7:notice] [pid 1605] [client 47.128.49.132:59202] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager>[Mon Feb 26 15:16:25.453976 2024] [php7:notice] [pid 1638] [client 172.16.10.10:53858] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defau>[Mon Feb 26 15:16:25.455339 2024] [php7:notice] [pid 1638] [client 172.16.10.10:53858] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager.>[Mon Feb 26 15:16:25.579035 2024] [php7:notice] [pid 1638] [client 172.16.10.10:53858] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defau>[Mon Feb 26 15:16:25.580292 2024] [php7:notice] [pid 1638] [client 172.16.10.10:53858] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager.>[Mon Feb 26 15:16:54.991954 2024] [php7:warn] [pid 1646] [client 66.249.69.40:36917] PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/www/html/periodicos.unir.br/plugins/>[Mon Feb 26 15:17:00.141241 2024] [php7:notice] [pid 1564] [client 172.16.10.10:53863] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defau>
[Mon Feb 26 15:17:00.142662 2024] [php7:notice] [pid 1564] [client 172.16.10.10:53863] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager.>
[Mon Feb 26 15:17:00.261676 2024] [php7:notice] [pid 1564] [client 172.16.10.10:53863] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defau>
[Mon Feb 26 15:17:00.263029 2024] [php7:notice] [pid 1564] [client 172.16.10.10:53863] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager.>
[Mon Feb 26 15:19:30.460685 2024] [php7:notice] [pid 1503] [client 172.16.10.10:53968] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defau>[Mon Feb 26 15:19:30.462155 2024] [php7:notice] [pid 1503] [client 172.16.10.10:53968] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager.>
[Mon Feb 26 15:19:35.275875 2024] [php7:notice] [pid 1503] [client 172.16.10.10:53968] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defau>
[Mon Feb 26 15:19:35.278330 2024] [php7:notice] [pid 1503] [client 172.16.10.10:53968] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager.>
[Mon Feb 26 15:19:35.396898 2024] [php7:notice] [pid 1503] [client 172.16.10.10:53968] PHP Notice: Trying to access array offset on value of type null in /var/www/html/periodicos.unir.br/plugins/themes/defau>
[Mon Feb 26 15:19:35.398473 2024] [php7:notice] [pid 1503] [client 172.16.10.10:53968] PHP Notice: Undefined index: uploadName in /var/www/html/periodicos.unir.br/lib/pkp/classes/template/PKPTemplateManager.>

  1. vou desabilitar “display_erro”

  2. a revista possui usuários: avaliadores, editores, etc. Contudo, na aba de Usuários você não os vejo.

Olá, colegas! Resolvido! Valeu!!!

1 curtida

@wilfredosantiago35, você poderia colocar a solução aqui?

Obrigado!