Strange database error

Hello, I have strange database error today:

Error

 

Database query error

 

Query:
REPLACE INTO `sys_sessions` SET `id`='Z&,9wZNc3ENg7u5yg.THQit,E6HxtGr4', `user_id`='0', `data`='a:0:{}', `date`=UNIX_TIMESTAMP()
Mysql error:
Duplicate entry '0' for key 'user_id'

Found error in the file '/home/areavis/public_html/inc/classes/BxDolSessionQuery.php' at line 38.
Called 'query' function with erroneous argument #0.

 

Now my website working but what could be causing this? and how to prevent it in the future? Please advice

Quote · 9 Aug 2013

try to empty that table and clear cache cache_public and tmp folder....   

userid 0 is guests i think visiting. 

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 10 Aug 2013

 Thanks for the quick reply. I'll do it. I hope this helps.

Every day I have about 200 views a website, why user id 0 caused this error?

try to empty that table and clear cache cache_public and tmp folder....   

userid 0 is guests i think visiting. 

 

Quote · 10 Aug 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.