DB Error: Duplicate entry ‘xxxxxx’ for key ‘sessions_pkey’

Hey, i’ve got an error message randomly after open every journals in to my OJS.
Error show DB Error: Duplicate entry ‘xxxxxx’ for key ‘sessions_pkey’

I think this problem happened because in new version i don’t have Path of each journals in the URL
I should added that, i have 52 journals and i defined a new URL for each of them, i defined a new URL at Config.in.php:

base_url[xxx] = https://xxx.edu.ac.com
and also defined in .htaccess

RewriteCond %{SERVER_NAME} ^(www.)?xxx.edu.ac.com/index.php/xxx
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php/xxx/$1 [QSA,L]

RewriteCond %{SERVER_NAME} ^(www.)?xxx.edu.ac.com
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php/xxx/$1 [QSA,L]

My ojs version is: 3.1.2.1. What’s the solution of my problem?