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`='a1299cdf23ce2b40dbd80aac54a6f4bd',`time`='1495866340',`ip`='54.196.17.193',`location`='/forum/member.php?action=profile&uid=242586',`useragent`='CCBot/2.0 (http://commoncrawl.org/faq/)',`location1`='0',`location2`='0',`nopermission`='0'