Discuz! info: MySQL Query Error

Time: 2021-12-5 6:24am
Script: /forum/space.php

SQL: SELECT t.tid, t.subject, t.special, t.price, t.fid, t.views, t.replies, t.author, t.authorid, t.lastpost, t.lastposter, t.attachment, p.pid, p.message FROM [Table]mythreads m INNER JOIN [Table]posts p ON p.tid=m.tid AND p.first='1'
INNER JOIN [Table]threads t ON t.blog='0' AND t.authorid='13145422' AND t.author!='' AND t.price='0' AND t.fid IN () AND t.displayorder>='0' AND t.readperm<=''
WHERE m.uid='13145422' AND m.tid=t.tid ORDER BY t.lastpost DESC LIMIT 5
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 ') AND t.displayorder>='0' AND t.readperm<=''\x0D\x0A\x09\x09\x09WHERE m.uid='...' at line 2
Errno.: 1064

Similar error report has beed dispatched to administrator before.