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,174,86,145,87,146,88,150,167,139,147,152,165,149,166,90,91,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,174,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,180,181,182,183,60,175,176,177,178,78,74,81,160,169,170,172) AND attachment>0 AND replies<11111 ORDER BY RAND() LIMIT 2

PHP Debug

No.FileLineCode
1forum.php67require(%s)
2source/module/forum/forum_forumdisplay.php974include(%s)
3data/template/47_diy_forum_forumdisplay.tpl.php1hookscriptoutput(%s)
4source/function/function_core.php1211hookscript(%s, %s)
5source/function/function_core.php1174call_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.php103discuz_database::query(%s, Array, false, false)
9source/class/discuz/discuz_database.php139db_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.guo.cc 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.