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