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 '142,164,82,59,46,83,86,145,87,146,88,150,167,139,147,152,165,149,166,90,91,137,1' at line 1
SELECT tid,fid,subject FROM forum_thread WHERE closed=0 AND displayorder>=0 AND fid IN (,142,164,82,59,46,83,86,145,87,146,88,150,167,139,147,152,165,149,166,90,91,137,171,92,93,151,94,95,96,97,140,153,99,100,101,103,104,105,161,89,106,107,108,109,110,111,112,113,114,162,116,118,119,120,121,122,123,124,125,141,143,159,126,131,138,158,181,182,183,184,60,173,174,175,177,178,179,74,81,160,163,169,170,172) AND attachment>0 AND replies<99999 ORDER BY RAND() LIMIT 2

PHP Debug

No.FileLineCode
1forum.php72require(%s)
2source/module/forum/forum_viewthread.php1004include(%s)
3data/template/38_diy_forum_viewthread.tpl.php1hookscriptoutput(%s)
4source/function/function_core.php1207hookscript(%s, %s)
5source/function/function_core.php1170call_user_func(Array, Array)
6plugin_pao_reply_robot->global_footer(Array)
7source/plugin/pao_reply_robot/pao_reply_robot.class.php31discuz_database::fetch_all(%s)
8source/class/discuz/discuz_database.php101discuz_database::query(%s, Array, false, false)
9source/class/discuz/discuz_database.php137db_driver_mysql->query(%s, false, false)
10source/class/db/db_driver_mysql.php152db_driver_mysql->halt(%s, %d, %s)
11source/class/db/db_driver_mysql.php223break()
www.80yx.top 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.