Hello any/everyone,
We are unsure if these issues are related!
Should we open a topic for each error?
Description of issue or problem I’m having:
After upgrading to OJS 3.3.0.10 we are experiencing a sluggish interface. Besides other issues, site is slow:
- Saving journal configuration, especially after saving once and opening translations to update;
- Since 3.3.0.x we’ve experience issues when uploading galley files. The modal window stops upload and process needs to be restared, sometimes requiring excluding file mutliple times, replacing and trying again and again until upload works;
- When sending editorial decision to authors, or assigning a reviewer, modal window stops and process needs to be done again.
Steps I took leading up to the issue:
Use of OJS in journal management and updating journal setup information, regular submission management and activities. I have multiple browser and tabs open (including multiple OJS windows!!)
What I tried to resolve the issue:
Opened this topic for now.
Application Version - e.g., OJS 3.1.2:
OJS 3.3.0.10
Additional information, such as screenshots and error log messages if applicable:
The latest error messages shown in the error log (after trying to send editorial decision!)
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Sokil\\IsoCodes\\Database\\Countries::getByAlpha2() must be of the type string, null given, called in /var/www/revista.ibict.br/pages/search/SearchHandler.inc.php on line 276 and defined in /var/www/revista.ibict.br/lib/pkp/lib/vendor/sokil/php-isocodes/src/Database/Countries.php:42\nStack trace:\n#0 /var/www/revista.ibict.br/pages/search/SearchHandler.inc.php(276): Sokil\\IsoCodes\\Database\\Countries->getByAlpha2()\n#1 /var/www/revista.ibict.br/lib/pkp/classes/core/PKPRouter.inc.php(395): SearchHandler->authors()\n#2 /var/www/revista.ibict.br/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()\n#3 /var/www/revista.ibict.br/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()\n#4 /var/www/revista.ibict.br/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()\n#5 /var/www/revista.ibict.br/index.php(68): PKPApplication->execute()\n#6 {main}\n thrown in /var/www/revista.ibict.br/lib/pkp/lib/vendor/sokil/php-isocodes/src/Database/Countries.php on line 42
[Tue Mar 22 16:08:50.363859 2022] [php7:notice] [pid 1052597] [client 172.16.16.5:34408] ojs2: 404 Not Found
[Tue Mar 22 16:10:47.942962 2022] [php7:notice] [pid 1052791] [client 172.16.16.5:35156] ojs2: 404 Not Found
[Tue Mar 22 16:11:14.164870 2022] [php7:error] [pid 1052795] [client 172.16.16.5:36686] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Sokil\\IsoCodes\\Database\\Countries::getByAlpha2() must be of the type string, null given, called in /var/www/revista.ibict.br/pages/search/SearchHandler.inc.php on line 276 and defined in /var/www/revista.ibict.br/lib/pkp/lib/vendor/sokil/php-isocodes/src/Database/Countries.php:42\nStack trace:\n#0 /var/www/revista.ibict.br/pages/search/SearchHandler.inc.php(276): Sokil\\IsoCodes\\Database\\Countries->getByAlpha2()\n#1 /var/www/revista.ibict.br/lib/pkp/classes/core/PKPRouter.inc.php(395): SearchHandler->authors()\n#2 /var/www/revista.ibict.br/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()\n#3 /var/www/revista.ibict.br/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()\n#4 /var/www/revista.ibict.br/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()\n#5 /var/www/revista.ibict.br/index.php(68): PKPApplication->execute()\n#6 {main}\n thrown in /var/www/revista.ibict.br/lib/pkp/lib/vendor/sokil/php-isocodes/src/Database/Countries.php on line 42
Other recent logged errors:
- Undefined index: stageId is shown multiple times!
PHP Notice: Undefined index: stageId in /var/www/revista.ibict.br/lib/pkp/controllers/grid/eventLog/SubmissionEventLogGridHandler.inc.php on line 111, referer: http://revista.ibict.br/ciinf/workflow/index/5283/4
- This is a new error seen
PHP Warning: include(/var/www/revista.ibict.br/cache/fc-pluginSettings-1-recommendbysimilarityplugin.php): failed to open stream: No such file or directory in /var/www/revista.ibict.br/lib/pkp/classes/cache/FileCache.inc.php on line 46, referer: http://revista.ibict.br/ciinf/workflow/index/5441/3