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