SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6): Invalid SQL: DELETE FROM bb1_sessions WHERE userid='0' AND ipaddress = '54.80.146.251' AND useragent = 'CCBot/2.0 (http://commoncrawl.org/faq/)'
mysql error: Table 'usr_web297_1.bb1_sessions' doesn't exist
mysql error number: 1146
mysql version: 5.7.19
php version: 5.2.17
Date: 20.11.2017 @ 01:20
Script: /forum/redir.php?url=http://www.ecarnegietech.com/
Referer: