Hello!
I’m facing a problem and I have no idea where to look for a solution anymore, so I’m turning to the community.
I have been running a journal since 2020, and we are currently using OJS 3.3.0.16.
This error started two days ago for no apparent reason. I didn’t update anything, I didn’t modify anything, and according to the server host, nothing was changed in PHP.
The error (an HTTP error) occurs when I try to upload files into the system, such as temporary corrections, final edits, etc. (.doc, .docx, .pdf, etc.). However, the pattern of the error makes no sense. Initially, I thought it only happened with larger files (>500kb), but I tested with bigger files and managed to upload them, just as I tried with smaller files that failed. Some authors can make their submissions normally, while others can’t and are contacting me reporting the same error.
Important points I’ve already investigated:
-
There is plenty of space on the server.
-
The PHP settings allow uploads of up to 64mb (
upload_max_filesize). -
I checked the directory permissions as per the OJS guide.
-
The server is running PHP 8.3.
-
No related error is being recorded in the log:
[22-Oct-2025 13:45:28 America/Sao_Paulo] PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'fskqk79a8nqo0rr6fg242s0rmg' for key 'sessions_pkey' in /home/scienti1/public_html/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:119
Stack trace:
#0 /home/scienti1/public_html/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(119): PDOStatement->execute()
#1 /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(489): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(664): Illuminate\Database\Connection->Illuminate\Database\{closure}()
#3 /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(631): Illuminate\Database\Connection->runQueryCallback()
#4 /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(477): Illuminate\Database\Connection->run()
#5 /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php(200): Illuminate\Database\Connection->affectingStatement()
#6 /home/scienti1/public_html/lib/pkp/classes/db/DAO.inc.php(140): Illuminate\Database\Capsule\Manager::__callStatic()
#7 /home/scienti1/public_html/lib/pkp/classes/session/SessionDAO.inc.php(59): DAO->update()
#8 /home/scienti1/public_html/lib/pkp/classes/session/SessionManager.inc.php(91): SessionDAO->insertObject()
#9 /home/scienti1/public_html/lib/pkp/classes/session/SessionManager.inc.php(131): SessionManager->__construct()
#10 /home/scienti1/public_html/lib/pkp/classes/i18n/PKPLocale.inc.php(131): SessionManager::getManager()
#11 /home/scienti1/public_html/lib/pkp/classes/i18n/PKPLocale.inc.php(290): PKPLocale::getLocale()
#12 /home/scienti1/public_html/lib/pkp/classes/core/Dispatcher.inc.php(116): PKPLocale::initialize()
#13 /home/scienti1/public_html/lib/pkp/classes/core/PKPApplication.inc.php(360): Dispatcher->dispatch()
#14 /home/scienti1/public_html/index.php(68): PKPApplication->execute()
#15 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'fskqk79a8nqo0rr6fg242s0rmg' for key 'sessions_pkey' in /home/scienti1/public_html/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
#0 /home/scienti1/public_html/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(121): Doctrine\DBAL\Driver\PDO\Exception::new()
#1 /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(489): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(664): Illuminate\Database\Connection->Illuminate\Database\{closure}()
#3 /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(631): Illuminate\Database\Connection->runQueryCallback()
#4 /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(477): Illuminate\Database\Connection->run()
#5 /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php(200): Illuminate\Database\Connection->affectingStatement()
#6 /home/scienti1/public_html/lib/pkp/classes/db/DAO.inc.php(140): Illuminate\Database\Capsule\Manager::__callStatic()
#7 /home/scienti1/public_html/lib/pkp/classes/session/SessionDAO.inc.php(59): DAO->update()
#8 /home/scienti1/public_html/lib/pkp/classes/session/SessionManager.inc.php(91): SessionDAO->insertObject()
#9 /home/scienti1/public_html/lib/pkp/classes/session/SessionManager.inc.php(131): SessionManager->__construct()
#10 /home/scienti1/public_html/lib/pkp/classes/i18n/PKPLocale.inc.php(131): SessionManager::getManager()
#11 /home/scienti1/public_html/lib/pkp/classes/i18n/PKPLocale.inc.php(290): PKPLocale::getLocale()
#12 /home/scienti1/public_html/lib/pkp/classes/core/Dispatcher.inc.php(116): PKPLocale::initialize()
#13 /home/scienti1/public_html/lib/pkp/classes/core/PKPApplication.inc.php(360): Dispatcher->dispatch()
#14 /home/scienti1/public_html/index.php(68): PKPApplication->execute()
#15 {main}
Next Illuminate\Database\QueryException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'fskqk79a8nqo0rr6fg242s0rmg' for key 'sessions_pkey' (SQL: INSERT INTO sessions
(session_id, ip_address, user_agent, created, last_used, remember, data, domain)
VALUES
(fskqk79a8nqo0rr6fg242s0rmg, 66.102.6.5, Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Mobile Safari/537.36 (compatible; Google-Read-Aloud; +https://support.google.com/webmasters/answer/1061943), 1761151527, 1761151527, 0, , scientiageneralis.com.br)) in /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php:671
Stack trace:
#0 /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(631): Illuminate\Database\Connection->runQueryCallback()
#1 /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(477): Illuminate\Database\Connection->run()
#2 /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php(200): Illuminate\Database\Connection->affectingStatement()
#3 /home/scienti1/public_html/lib/pkp/classes/db/DAO.inc.php(140): Illuminate\Database\Capsule\Manager::__callStatic()
#4 /home/scienti1/public_html/lib/pkp/classes/session/SessionDAO.inc.php(59): DAO->update()
#5 /home/scienti1/public_html/lib/pkp/classes/session/SessionManager.inc.php(91): SessionDAO->insertObject()
#6 /home/scienti1/public_html/lib/pkp/classes/session/SessionManager.inc.php(131): SessionManager->__construct()
#7 /home/scienti1/public_html/lib/pkp/classes/i18n/PKPLocale.inc.php(131): SessionManager::getManager()
#8 /home/scienti1/public_html/lib/pkp/classes/i18n/PKPLocale.inc.php(290): PKPLocale::getLocale()
#9 /home/scienti1/public_html/lib/pkp/classes/core/Dispatcher.inc.php(116): PKPLocale::initialize()
#10 /home/scienti1/public_html/lib/pkp/classes/core/PKPApplication.inc.php(360): Dispatcher->dispatch()
#11 /home/scienti1/public_html/index.php(68): PKPApplication->execute()
#12 {main}
thrown in /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 671
[22-Oct-2025 13:55:49 America/Sao_Paulo] PHP Warning: Undefined property: stdClass::$given in /home/scienti1/public_html/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Rendering/Name/Name.php on line 588
[22-Oct-2025 13:55:49 America/Sao_Paulo] PHP Warning: Undefined property: stdClass::$given in /home/scienti1/public_html/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Rendering/Name/Name.php on line 588
[22-Oct-2025 13:55:49 America/Sao_Paulo] PHP Warning: Undefined property: stdClass::$given in /home/scienti1/public_html/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Rendering/Name/Name.php on line 588
[22-Oct-2025 14:03:08 America/Sao_Paulo] PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /home/scienti1/public_html/lib/pkp/classes/session/SessionManager.inc.php on line 71
[22-Oct-2025 14:03:10 America/Sao_Paulo] PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /home/scienti1/public_html/lib/pkp/classes/session/SessionManager.inc.php on line 71
[22-Oct-2025 14:03:10 America/Sao_Paulo] PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /home/scienti1/public_html/lib/pkp/classes/session/SessionManager.inc.php on line 71
[22-Oct-2025 14:29:53 America/Sao_Paulo] PHP Warning: Undefined property: stdClass::$given in /home/scienti1/public_html/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Rendering/Name/Name.php on line 588
[22-Oct-2025 14:29:53 America/Sao_Paulo] PHP Warning: Undefined property: stdClass::$given in /home/scienti1/public_html/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Rendering/Name/Name.php on line 588
[22-Oct-2025 14:29:53 America/Sao_Paulo] PHP Warning: Undefined property: stdClass::$given in /home/scienti1/public_html/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Rendering/Name/Name.php on line 588
[22-Oct-2025 15:27:19 America/Sao_Paulo] PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /home/scienti1/public_html/lib/pkp/classes/session/SessionManager.inc.php on line 71
[22-Oct-2025 15:27:20 America/Sao_Paulo] PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /home/scienti1/public_html/lib/pkp/classes/session/SessionManager.inc.php on line 71
[22-Oct-2025 15:27:20 America/Sao_Paulo] PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /home/scienti1/public_html/lib/pkp/classes/session/SessionManager.inc.php on line 71
[22-Oct-2025 15:55:08 America/Sao_Paulo] PHP Warning: Undefined property: stdClass::$given in /home/scienti1/public_html/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Rendering/Name/Name.php on line 588
[22-Oct-2025 15:55:08 America/Sao_Paulo] PHP Warning: Undefined property: stdClass::$given in /home/scienti1/public_html/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Rendering/Name/Name.php on line 588
[22-Oct-2025 15:55:08 America/Sao_Paulo] PHP Warning: Undefined property: stdClass::$given in /home/scienti1/public_html/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Rendering/Name/Name.php on line 588
[22-Oct-2025 16:25:18 America/Sao_Paulo] PHP Warning: Undefined array key "stageId" in /home/scienti1/public_html/lib/pkp/controllers/grid/eventLog/SubmissionEventLogGridHandler.inc.php on line 111
[22-Oct-2025 16:30:11 America/Sao_Paulo] ojs2: 404 Not Found
[22-Oct-2025 16:30:12 America/Sao_Paulo] ojs2: 404 Not Found
[22-Oct-2025 16:35:04 America/Sao_Paulo] PHP Warning: Undefined array key "stageId" in /home/scienti1/public_html/lib/pkp/controllers/grid/eventLog/SubmissionEventLogGridHandler.inc.php on line 111
[22-Oct-2025 16:55:49 America/Sao_Paulo] PHP Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Validation/Concerns/FormatsMessages.php on line 310
[22-Oct-2025 16:55:52 America/Sao_Paulo] PHP Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Validation/Concerns/FormatsMessages.php on line 310
[22-Oct-2025 16:55:52 America/Sao_Paulo] PHP Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Validation/Concerns/FormatsMessages.php on line 310
[22-Oct-2025 16:55:53 America/Sao_Paulo] PHP Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/scienti1/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Validation/Concerns/FormatsMessages.php on line 310
Any tips would be greatly appreciated, as I’m out of clues on where else to look for a solution. Could it be a database error? Could a system file have been corrupted?