Fatal error: Integrity constraint violation

Hi, we are experiencing an error. I get into dashboard and appears: “An unexpected error has occurred. Please reload the page and try again” and on screen the light fades. “Issues” and “Submissions” goes on loading.

We use OJS 3.3.0-13

The error log messages:

[26-Sep-2024 17:40:07 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘4ecf17b5d4ffef91f6fff12adce50267’ for key ‘sessions_pkey’ in /home/revistas/public_html/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:115

Stack trace:

#0 /home/revistas/public_html/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(115): PDOStatement->execute(NULL)

#1 /home/revistas/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(489): Doctrine\DBAL\Driver\PDOStatement->execute()

#2 /home/revistas/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(664): Illuminate\Database\Connection->Illuminate\Database{closure}(‘INSERT INTO ses…’, Array)

#3 /home/revistas/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(631): Illuminate\Database\Connection->runQueryCallback(‘INSERT INTO ses…’, Array, Object(Closure))

#4 /home/revistas/public_html/lib/pkp/lib/ve in /home/revistas/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 671

I have checked: PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry
but the code line to solve the problem is already modified in the OJS version I have.

Thank you in advanced