SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6): Invalid SQL: DELETE FROM bb1_sessions WHERE userid='0' AND ipaddress = '54.167.29.208' 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.20
php version: 5.2.17
Date: 24.02.2018 @ 03:05
Script: /forum/redir.php
Referer: