Unable upload articles after migration to latest version

Description of issue or problem I’m having:
Hi, I am having some issues while submitting articles to my OJS installation. It is showing 404 error in the console for …/submission/saveStep/3

Application Version - Latest

Below are Apache error log. Please provide some solution. I’ll be thankful to all of you.

[Fri Feb 11 09:29:36.731426 2022] [proxy_fcgi:error] [pid 88490] [client 41.95.42.142:34524] AH01071: Got error 'PHP message: ojs2: 404 Not Found'
[Fri Feb 11 10:21:27.177277 2022] [proxy_fcgi:error] [pid 97490] [client 47.29.91.191:39818] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\\xD8\\xAC\\xD9\\x87\\xD9\\x88...' for column `sprinpub`.`submission_file_settings`.`setting_value` at row 1 in /home/sprinpub/public_html/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:115\nStack trace:\n#0 /home/sprinpub/public_html/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(115): PDOStatement->execute()\n#1 /home/sprinpub/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(489): Doctrine\\DBAL\\Driver\\PDOStatement->execute()\n#2 /home/sprinpub/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(664): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}()\n#3 /home/sprinpub/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(631): Illuminate\\Database\\Connection->runQueryCallback()\n#4 /home/sprinpub/public_html/...', referer: https://sprinpub.com/sjaes/management/importexport/plugin/QuickSubmitPlugin/saveSubmit
[Fri Feb 11 10:22:58.987870 2022] [proxy_fcgi:error] [pid 97526] [client 47.29.91.191:39836] AH01071: Got error 'PHP message: PHP Notice:  Undefined variable: newFile in /home/sprinpub/public_html/plugins/importexport/quickSubmit/QuickSubmitForm.inc.php on line 312', referer: https://sprinpub.com/sjaes/management/importexport/plugin/QuickSubmitPlugin/saveSubmit
[Fri Feb 11 10:32:32.269411 2022] [proxy_fcgi:error] [pid 100088] [client 185.191.171.6:2136] AH01071: Got error 'PHP message: ojs2: 404 Not Found'
[Fri Feb 11 11:02:01.039506 2022] [proxy_fcgi:error] [pid 105155] [client 66.249.66.94:57244] AH01071: Got error 'PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 204PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 205'
[Fri Feb 11 11:36:06.844256 2022] [proxy_fcgi:error] [pid 111391] [client 163.172.175.6:22727] AH01071: Got error 'PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 204PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 205'
[Fri Feb 11 12:47:12.336872 2022] [proxy_fcgi:error] [pid 124496] [client 154.54.249.196:27442] AH01071: Got error 'PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 204PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 205PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getId() on null in /home/sprinpub/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php:357\nStack trace:\n#0 /home/sprinpub/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(315): OrcidProfilePlugin->buildOAuthUrl()\n#1 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): OrcidProfilePlugin->registrationFilter()\n#2 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(231): Smarty_Internal_Runtime_FilterHandler->runFilter()\n#3 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render()\n#4 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute()\n#5 /home/sprinpub/public_html/lib/pkp/classes/te...'
[Fri Feb 11 12:47:36.620242 2022] [proxy_fcgi:error] [pid 126231] [client 154.54.249.196:25922] AH01071: Got error 'PHP message: ojs2: 404 Not Found'
[Fri Feb 11 12:48:22.195229 2022] [proxy_fcgi:error] [pid 124496] [client 154.54.249.196:55166] AH01071: Got error 'PHP message: ojs2: 404 Not Found'
[Fri Feb 11 12:48:37.411305 2022] [proxy_fcgi:error] [pid 127080] [client 154.54.249.196:21836] AH01071: Got error 'PHP message: ojs2: 404 Not Found'
[Fri Feb 11 12:48:54.125810 2022] [proxy_fcgi:error] [pid 126303] [client 207.46.13.160:32256] AH01071: Got error 'PHP message: ojs2: 404 Not Found'
[Fri Feb 11 12:54:11.593519 2022] [proxy_fcgi:error] [pid 127885] [client 154.54.249.196:8900] AH01071: Got error 'PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 204PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 205PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getId() on null in /home/sprinpub/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php:357\nStack trace:\n#0 /home/sprinpub/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(315): OrcidProfilePlugin->buildOAuthUrl()\n#1 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): OrcidProfilePlugin->registrationFilter()\n#2 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(231): Smarty_Internal_Runtime_FilterHandler->runFilter()\n#3 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render()\n#4 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute()\n#5 /home/sprinpub/public_html/lib/pkp/classes/te...'
[Fri Feb 11 12:57:39.967892 2022] [proxy_fcgi:error] [pid 126241] [client 117.194.70.70:63820] AH01071: Got error 'PHP message: Slim Application Error:\nType: Illuminate\\Database\\QueryException\nCode: 22007\nMessage: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\\xE1\\xB9\\xA3aww...' for column `sprinpub`.`publication_settings`.`setting_value` at row 1 (SQL: insert into `publication_settings` (`publication_id`, `locale`, `setting_name`, `setting_value`) values (41, en_US, abstract, <p>The title which I have chosen for this paper “Reception of Sufism in Arabic Literature” demands for a few words of explanation at the very outset. Sufism or Ta\xe1\xb9\xa3awwuf is the inner mystical dimension of Islam. Mysticism implies to something mysterious that cannot be understood by ordinary means. Interestingly, both the words of “mystic” and “mystery” have been derived from the common Greek root of “myein” which means “to close the eyes”. In a simple term mysticism could be defined as “Consciousness of the One Reality”. The word Sufi...', referer: https://sprinpub.com/sjaes/workflow/index/33/5
[Fri Feb 11 12:57:56.384545 2022] [proxy_fcgi:error] [pid 127080] [client 117.194.70.70:63821] AH01071: Got error 'PHP message: Slim Application Error:\nType: Illuminate\\Database\\QueryException\nCode: 22007\nMessage: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\\xE1\\xB9\\xA3aww...' for column `sprinpub`.`publication_settings`.`setting_value` at row 1 (SQL: insert into `publication_settings` (`publication_id`, `locale`, `setting_name`, `setting_value`) values (41, en_US, abstract, <p>The title which I have chosen for this paper “Reception of Sufism in Arabic Literature” demands for a few words of explanation at the very outset. Sufism or Ta\xe1\xb9\xa3awwuf is the inner mystical dimension of Islam. Mysticism implies to something mysterious that cannot be understood by ordinary means. Interestingly, both the words of “mystic” and “mystery” have been derived from the common Greek root of “myein” which means “to close the eyes”. In a simple term mysticism could be defined as “Consciousness of the One Reality”. The word Sufi...', referer: https://sprinpub.com/sjaes/workflow/index/33/5
[Fri Feb 11 12:58:03.359638 2022] [proxy_fcgi:error] [pid 126231] [client 117.194.70.70:63824] AH01071: Got error 'PHP message: ojs2: 404 Not Found'
[Fri Feb 11 12:58:48.565987 2022] [proxy_fcgi:error] [pid 127080] [client 154.54.249.196:54192] AH01071: Got error 'PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 204PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 205PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getId() on null in /home/sprinpub/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php:357\nStack trace:\n#0 /home/sprinpub/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(315): OrcidProfilePlugin->buildOAuthUrl()\n#1 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): OrcidProfilePlugin->registrationFilter()\n#2 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(231): Smarty_Internal_Runtime_FilterHandler->runFilter()\n#3 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render()\n#4 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute()\n#5 /home/sprinpub/public_html/lib/pkp/classes/te...'
[Fri Feb 11 13:04:25.129742 2022] [proxy_fcgi:error] [pid 130566:tid 140586753922816] [client 154.54.249.196:47650] AH01071: Got error 'PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 204PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 205PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getId() on null in /home/sprinpub/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php:357\nStack trace:\n#0 /home/sprinpub/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(315): OrcidProfilePlugin->buildOAuthUrl()\n#1 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): OrcidProfilePlugin->registrationFilter()\n#2 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(231): Smarty_Internal_Runtime_FilterHandler->runFilter()\n#3 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render()\n#4 /home/sprinpub/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute()\n#5 /home/sprinpub/public_html/lib/pkp/classes/te...'
[Fri Feb 11 13:09:16.183500 2022] [proxy_fcgi:error] [pid 133975:tid 140586737030912] [client 154.54.249.196:59214] AH01071: Got error 'PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 204PHP message: PHP Notice:  Only variables should be assigned by reference in /home/sprinpub/public_html/plugins/generic/formHoneypot/FormHoneypotPlugin.inc.php on line 205'
[Fri Feb 11 13:45:30.134088 2022] [proxy_fcgi:error] [pid 133976:tid 140586947069696] [client 129.232.85.99:36470] AH01071: Got error 'PHP message: ojs2: 404 Not Found', referer: https://www.bing.com/
[Fri Feb 11 14:08:39.061535 2022] [proxy_fcgi:error] [pid 133976:tid 140586871478016] [client 40.77.167.20:65472] AH01071: Got error 'PHP message: ojs2: 404 Not Found'
[Fri Feb 11 14:34:08.052738 2022] [proxy_fcgi:error] [pid 133975:tid 140587005818624] [client 117.194.70.70:58531] AH01071: Got error 'PHP message: ojs2: 404 Not Found'
[Fri Feb 11 14:34:43.379619 2022] [proxy_fcgi:error] [pid 133975:tid 140587005818624] [client 117.194.70.70:58541] AH01071: Got error 'PHP message: Slim Application Error:\nType: Illuminate\\Database\\QueryException\nCode: 22007\nMessage: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\\xE1\\xB9\\xA3aww...' for column `sprinpub`.`publication_settings`.`setting_value` at row 1 (SQL: insert into `publication_settings` (`publication_id`, `locale`, `setting_name`, `setting_value`) values (41, en_US, abstract, <p>The title which I have chosen for this paper “Reception of Sufism in Arabic Literature” demands for a few words of explanation at the very outset. Sufism or Ta\xe1\xb9\xa3awwuf is the inner mystical dimension of Islam. Mysticism implies to something mysterious that cannot be understood by ordinary means. Interestingly, both the words of “mystic” and “mystery” have been derived from the common Greek root of “myein” which means “to close the eyes”. In a simple term mysticism could be defined as “Consciousness of the One Reality”. The word Sufi...', referer: https://sprinpub.com/sjaes/workflow/index/33/5
[Fri Feb 11 14:34:53.435976 2022] [proxy_fcgi:error] [pid 133975:tid 140587005818624] [client 117.194.70.70:58540] AH01071: Got error 'PHP message: Slim Application Error:\nType: Illuminate\\Database\\QueryException\nCode: 22007\nMessage: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\\xE1\\xB9\\xA3aww...' for column `sprinpub`.`publication_settings`.`setting_value` at row 1 (SQL: insert into `publication_settings` (`publication_id`, `locale`, `setting_name`, `setting_value`) values (41, en_US, abstract, <p>The title which I have chosen for this paper “Reception of Sufism in Arabic Literature” demands for a few words of explanation at the very outset. Sufism or Ta\xe1\xb9\xa3awwuf is the inner mystical dimension of Islam. Mysticism implies to something mysterious that cannot be understood by ordinary means. Interestingly, both the words of “mystic” and “mystery” have been derived from the common Greek root of “myein” which means “to close the eyes”. In a simple term mysticism could be defined as “Consciousness of the One Reality”. The word Sufi...', referer: https://sprinpub.com/sjaes/workflow/index/33/5
[Fri Feb 11 14:36:21.470240 2022] [proxy_fcgi:error] [pid 133975:tid 140587005818624] [client 40.77.167.20:65472] AH01071: Got error 'PHP message: ojs2: 404 Not Found'
[Fri Feb 11 14:40:08.627653 2022] [proxy_fcgi:error] [pid 133975:tid 140586535307008] [client 117.194.70.70:58604] AH01071: Got error 'PHP message: Slim Application Error:\nType: Illuminate\\Database\\QueryException\nCode: 22007\nMessage: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\\xE1\\xB9\\xA3aww...' for column `sprinpub`.`publication_settings`.`setting_value` at row 1 (SQL: insert into `publication_settings` (`publication_id`, `locale`, `setting_name`, `setting_value`) values (41, en_US, abstract, <p>The title which I have chosen for this paper “Reception of Sufism in Arabic Literature” demands for a few words of explanation at the very outset. Sufism or Ta\xe1\xb9\xa3awwuf is the inner mystical dimension of Islam. Mysticism implies to something mysterious that cannot be understood by ordinary means. Interestingly, both the words of “mystic” and “mystery” have been derived from the common Greek root of “myein” which means “to close the eyes”. In a simple term mysticism could be defined as “Consciousness of the One Reality”. The word Sufi...', referer: https://sprinpub.com/sjaes/workflow/index/33/5
[Fri Feb 11 14:42:23.437915 2022] [proxy_fcgi:error] [pid 133975:tid 140586711828224] [client 117.194.70.70:62163] AH01071: Got error 'PHP message: Slim Application Error:\nType: Illuminate\\Database\\QueryException\nCode: 22007\nMessage: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\\xE1\\xB9\\xA3aww...' for column `sprinpub`.`publication_settings`.`setting_value` at row 1 (SQL: insert into `publication_settings` (`publication_id`, `locale`, `setting_name`, `setting_value`) values (41, en_US, abstract, <p>The title which I have chosen for this paper “Reception of Sufism in Arabic Literature” demands for a few words of explanation at the very outset. Sufism or Ta\xe1\xb9\xa3awwuf is the inner mystical dimension of Islam.</p>) on duplicate key update `publication_id` = values(`publication_id`), `locale` = values(`locale`), `setting_name` = values(`setting_name`), `setting_value` = values(`setting_value`))\nFile: /home/sprinpub/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php\nLine: 671\nTrace: #0 /home/sprinpub/public_html/lib/pkp/lib/vendor/laravel/framework/sr...', referer: https://sprinpub.com/sjaes/workflow/index/33/5
[Fri Feb 11 14:46:27.468627 2022] [proxy_fcgi:error] [pid 133976:tid 140586711828224] [client 117.194.70.70:60073] AH01071: Got error 'PHP message: ojs2: 404 Not Found'
[Fri Feb 11 14:54:56.131907 2022] [proxy_fcgi:error] [pid 133975:tid 140586501736192] [client 117.194.70.70:60188] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\\xE1\\xB9\\xA3aww...' for column `sprinpub`.`publication_settings`.`setting_value` at row 1 in /home/sprinpub/public_html/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:115\nStack trace:\n#0 /home/sprinpub/public_html/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(115): PDOStatement->execute()\n#1 /home/sprinpub/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(489): Doctrine\\DBAL\\Driver\\PDOStatement->execute()\n#2 /home/sprinpub/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(664): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}()\n#3 /home/sprinpub/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(631): Illuminate\\Database\\Connection->runQueryCallback()\n#4 /home/sprinpub/public_html/lib/pkp/lib/v...', referer: https://sprinpub.com/sjaes/submission/wizard/2?submissionId=34
[Fri Feb 11 14:55:31.292956 2022] [proxy_fcgi:error] [pid 133975:tid 140586493343488] [client 117.194.70.70:60187] AH01071: Got error 'PHP message: ojs2: 404 Not Found'
[Fri Feb 11 14:55:48.825924 2022] [proxy_fcgi:error] [pid 133975:tid 140586526914304] [client 117.194.70.70:60202] AH01071: Got error 'PHP message: ojs2: 404 Not Found'
[Fri Feb 11 14:55:58.411270 2022] [proxy_fcgi:error] [pid 133975:tid 140586737030912] [client 117.194.70.70:60201] AH01071: Got error 'PHP message: ojs2: 404 Not Found'

Hi @sprinpub

You’ve got some errors related to possibly database encoding issues here. This is a fatal error according to your log:

You didn’t say what version you upgraded from, but please review the database and i18n settings in your config.inc.php file and make sure nothing has changed there.

Best
Jason

Thank you for your quick reply.
Actually, I forget from which version I have migrated.
Now I m getting 500 error in console for …/api/v1/submissions/33/publications/41

Hi @sprinpub

As I mentioned, you’ll need to review your settings from before and after your upgrade. If there are database differences you will need to remedy those first.

Best
Jason

Dear admin, I have found the version from which I migrated to latest version. It was 3.2.1.1. I don’t have much knowledge to of database. Please guide with me step by step process to solve the issue.

Latest apache error is

[Sat Feb 12 13:36:08.890098 2022] [proxy_fcgi:error] [pid 276688] [client 117.194.68.131:50503] AH01071: Got error 'PHP message: PHP Warning:  file_put_contents(/home/sprinpub/public_html/cache/fc-pluginSettings-0-defaultthemeplugin.php): failed to open stream: Permission denied in /home/sprinpub/public_html/lib/pkp/classes/cache/FileCache.inc.php on line 90', referer: https://sprinpub.com/index/admin/contexts

One of our Journal is working fine but the 2nd one having these issues. https://sprinpub.com/

Hi @sprinpub

That error regarding being unable to write to your cache directory is a server permissions problem. Please make sure your web server can write to the directory. You may need to ask your systems admin for assistance.

Best
Jason