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