SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6): Invalid SQL: DELETE FROM bb1_sessions WHERE userid='0' AND ipaddress = '54.227.31.145' AND useragent = 'CCBot/2.0 (https://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: 15.12.2018 @ 21:27
Script: /forum/redir.php?url=https://www.youtube.com/watch?v=75EvMuaotfM
Referer: