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: 15.06.2024 @ 05:44
Script: /pdf_thread,threadid-18322,sid-6469c71b3c9cd0e2dce0402ee164a6a1.html
Referer: