SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6 pl2): Invalid SQL: select * from bb1_attachments where postid IN()
mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
mysql error number: 1064
mysql version: 5.5.62-0ubuntu0.14.04.1
php version: 5.5.9-1ubuntu4.14
Date: 19.09.2024 @ 03:38
Script: /pdf_thread,threadid-18322,sid-c30f9254449745dbb28e15bfab3044e0.html
Referer: