Hi all
we upgraded OJS from 3.1.0-1 to 3.1.1-0 this week and came across an unexpected behaviour:
When clicking on the submissions of a journal, none of them are listed. The browser log (of different browsers) says, that $.pkp.app.accessRoles is undefined
. A similar behaviour occurs when trying to edit a user: The user roles are missing. However the aforementioned message does not seem to appear in the browser log, but it sounds an awful lot like it might have to do with this problem as well.
In the apache log I didn’t see anything that seemed relevant; just some php warning concerning plugins. Here is some of the log, grepping for the referring URL and within the timespan of one access of the respective page:
Apache Log
[Fri Jun 01 11:50:04.756164 2018] [:error] [pid 9296] [client 134.155.36.91:56400] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /var/www/html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.756636 2018] [:error] [pid 9296] [client 134.155.36.91:56400] PHP Warning: Declaration of PiwikPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /var/www/html/plugins/generic/piwik/PiwikPlugin.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.756658 2018] [:error] [pid 9296] [client 134.155.36.91:56400] PHP Warning: Declaration of PiwikPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /var/www/html/plugins/generic/piwik/PiwikPlugin.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.756730 2018] [:error] [pid 9296] [client 134.155.36.91:56400] PHP Warning: Declaration of ShariffPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /var/www/html/plugins/generic/shariff/ShariffPlugin.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.761076 2018] [:error] [pid 9296] [client 134.155.36.91:56400] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /var/www/html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.761100 2018] [:error] [pid 9296] [client 134.155.36.91:56400] PHP Warning: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /var/www/html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.761834 2018] [:error] [pid 9296] [client 134.155.36.91:56400] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.762985 2018] [:error] [pid 9296] [client 134.155.36.91:56400] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/plugins/generic/driver/DRIVERDAO.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.763394 2018] [:error] [pid 9296] [client 134.155.36.91:56400] PHP Warning: Declaration of UserGridHandler::renderFilter($request) should be compatible with GridHandler::renderFilter($request, $filterData = Array) in /var/www/html/lib/pkp/controllers/grid/settings/user/UserGridHandler.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.763836 2018] [:error] [pid 9296] [client 134.155.36.91:56400] PHP Warning: Declaration of UserForm::display($args, $request) should be compatible with Form::display($request = NULL, $template = NULL) in /var/www/html/lib/pkp/controllers/grid/settings/user/form/UserForm.inc.php on line 18, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.763854 2018] [:error] [pid 9296] [client 134.155.36.91:56400] PHP Warning: Declaration of UserForm::initData($args, $request) should be compatible with Form::initData() in /var/www/html/lib/pkp/controllers/grid/settings/user/form/UserForm.inc.php on line 18, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.763868 2018] [:error] [pid 9296] [client 134.155.36.91:56400] PHP Warning: Declaration of UserForm::execute($args, $request) should be compatible with Form::execute() in /var/www/html/lib/pkp/controllers/grid/settings/user/form/UserForm.inc.php on line 18, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.974702 2018] [:error] [pid 11089] [client 134.155.36.91:56402] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /var/www/html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.974989 2018] [:error] [pid 11089] [client 134.155.36.91:56402] PHP Warning: Declaration of PiwikPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /var/www/html/plugins/generic/piwik/PiwikPlugin.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.975025 2018] [:error] [pid 11089] [client 134.155.36.91:56402] PHP Warning: Declaration of PiwikPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /var/www/html/plugins/generic/piwik/PiwikPlugin.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.975067 2018] [:error] [pid 11089] [client 134.155.36.91:56402] PHP Warning: Declaration of ShariffPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /var/www/html/plugins/generic/shariff/ShariffPlugin.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.981575 2018] [:error] [pid 11089] [client 134.155.36.91:56402] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /var/www/html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.981600 2018] [:error] [pid 11089] [client 134.155.36.91:56402] PHP Warning: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /var/www/html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.982296 2018] [:error] [pid 11089] [client 134.155.36.91:56402] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
[Fri Jun 01 11:50:04.983305 2018] [:error] [pid 11089] [client 134.155.36.91:56402] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/plugins/generic/driver/DRIVERDAO.inc.php on line 0, referer: https://journals.bib.uni-mannheim.de/diskurse-digital/management/settings/access
System info:
Setting Name | Setting Value |
---|---|
OS platform | Linux |
PHP version | 7.0.27-0+deb9u1 |
Apache version | Apache/2.4.25 (Debian) |
Database driver | mysqli |
Database server version | 10.1.26-MariaDB-0+deb9u1 |
We tried clearing the cache and running php /var/www/html/tools/upgrade.php upgrade
again, but unfortunately that didn’t help. We also tried upgrading to 3.1.1-1 which didn’t resolve the issue either; so we fell beck to a snapshot of 3.1.1-0.
Any help, ideas and questions are much appreciated. Please let me know, if I can provide further information.
Best regards
Dennis