MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1062 - Duplicate entry '0' for key 'uid'
Query:
REPLACE INTO mybb_sessions SET `uid`='0',`sid`='2e6b4f2bf63ac88f36edaad192eb3b3e',`time`='1493137185',`ip`='23.20.219.0',`location`='/forum/showthread.php?tid=33',`useragent`='CCBot/2.0 (http://commoncrawl.org/faq/)',`location1`='61',`location2`='33',`nopermission`='0'