SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6): Invalid SQL: DELETE FROM bb1_sessions WHERE userid='0' AND ipaddress = '54.162.139.105' 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: 21.11.2017 @ 09:14
Script: /forum/redir.php
Referer: