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 '39,62,64,56,57,58,59,60,61,51,52,53,55,48,46,47,45,44,50) AND replies<5 ORDER' at line 1
SELECT tid,fid,subject FROM forum_thread WHERE closed=0 AND displayorder>=0 AND fid IN (,39,62,64,56,57,58,59,60,61,51,52,53,55,48,46,47,45,44,50) AND replies<5 ORDER BY RAND() LIMIT 10

PHP Debug

No.FileLineCode
1forum.php67require(%s)
2source/module/forum/forum_viewthread.php1004include(%s)
3data/template/1_diy_forum_viewthread.tpl.php1hookscriptoutput(%s)
4source/function/function_core.php1214hookscript(%s, %s)
5source/function/function_core.php1177call_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.91ysheng.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.