Discuz! Database Error

(1064) 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 '151,152,153,163,162,46,117,118,112,139,142,119,132,131,130,129,133,42,148,155,15' at line 1
SELECT tid,fid,subject FROM forum_thread WHERE closed=0 AND displayorder>=0 AND fid IN (,151,152,153,163,162,46,117,118,112,139,142,119,132,131,130,129,133,42,148,155,154,157,156,173,134,68,106,84,85,169,48,125,82,81,54,124,126,120,127,128,87,88,95,171,90,135,52,53,51,101,50,107,111,137,94,76,136,56,57,75,71,72,60,98,96,83,110,102,105,38,39,63,64,65,66,74,91,97,104,141,170,159,160) AND attachment>0 AND dateline>1621915652 AND replies<1 ORDER BY RAND() LIMIT 5

PHP Debug

No.FileLineCode
1forum.php72require(%s)
2source/module/forum/forum_viewthread.php1004include(%s)
3data/template/2_diy_forum_viewthread_65.tpl.php1hookscriptoutput(%s)
4source/function/function_core.php1207hookscript(%s, %s)
5source/function/function_core.php1170plugin_pao_reply_robot->global_footer(Array)
6source/plugin/pao_reply_robot/pao_reply_robot.class.php31discuz_database::fetch_all(%s)
7source/class/discuz/discuz_database.php101discuz_database::query(%s, Array, false, false)
8source/class/discuz/discuz_database.php137db_driver_mysqli->query(%s, false, false)
9source/class/db/db_driver_mysqli.php147db_driver_mysqli->halt(%s, %d, %s)
10source/class/db/db_driver_mysqli.php222break()
artace.ru Ошибка доступа записана в отчет. Приносим свои извинения за невозможность доступа.