MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1062 - Duplicate entry '0' for key 'location1'
Query:
REPLACE INTO mybb_sessions SET `uid`='0',`sid`='e3aaebe8dca5d5692a5ad362e0b1df34',`time`='1711699616',`ip`='35.175.232.163',`location`='/calendar.php?action=addevent&calendar=1&day=24&month=7&year=2017',`useragent`='claudebot',`location1`='0',`location2`='0',`nopermission`='0'