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.23-MariaDB-0+deb11u1-log
php version: 5.6.40
Date: 29.03.2024 @ 00:13
Script: /thread.php?serie=hun&format=adv&nr=1
Referer: