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 ')ORDER BY dra.displayorder DESC LIMIT 6' at line 1
SELECT dra.tid, dra.fid, ft.subject, ft.dateline FROM dev_recommend_custom dra, forum_thread ft WHERE dra.tid = ft.tid AND dra.status = 1 AND dra.is_del = 0 AND dra.create_time > 1546389280 AND dra.fid = 39 AND ft.displayorder >= 0 AND ft.closed = 0 AND dra.is_global = 0 AND dra.tid NOT IN()ORDER BY dra.displayorder DESC LIMIT 6

PHP Debug

No.FileLineCode
1forum.php71require(%s)
2source/module/forum/forum_viewthread.php1027discuz_database_ext::fetch_all(%s)
3/home/wwwroot/bbs/ewtbbs_ln/data/sysdata/discuz_database_ext20180412~0834~03.php103discuz_database_ext::query(%s, Array, false, false)
4/home/wwwroot/bbs/ewtbbs_ln/data/sysdata/discuz_database_ext20180412~0834~03.php139db_driver_mysql_slave->query(%s, false, false)
5source/class/db/db_driver_mysql_slave.php89db_driver_mysql->query(%s, false, false)
6source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
7source/class/db/db_driver_mysql.php224break()
bbs.ewt360.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?