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.php26showmessage(%s)
3source/function/function_core.php1419dshowmessage(%s, %s, Array, Array, %d)
4source/function/function_message.php237include(%s)
5data/template/38_38_common_showmessage.tpl.php1hookscriptoutput(%s)
6source/function/function_core.php1207hookscript(%s, %s)
7source/function/function_core.php1170call_user_func(Array, Array)
8plugin_pao_reply_robot->global_footer(Array)
9source/plugin/pao_reply_robot/pao_reply_robot.class.php31discuz_database::fetch_all(%s)
10source/class/discuz/discuz_database.php101discuz_database::query(%s, Array, false, false)
11source/class/discuz/discuz_database.php137db_driver_mysql->query(%s, false, false)
12source/class/db/db_driver_mysql.php152db_driver_mysql->halt(%s, %d, %s)
13source/class/db/db_driver_mysql.php223break()
www.80yx.top 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.