SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6): Invalid SQL: SELECT * FROM bb1_info_hoerspiele WHERE threadid = LIMIT 1
mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIMIT 1' at line 1
mysql error number: 1064
mysql version: 10.5.26-MariaDB-0+deb11u2-log
php version: 5.6.40
Date: 04.12.2024 @ 14:04
Script: /thread.php?hsp_id=356&sid=fc45235f2ac59eb173a3a242af5a5452
Referer: