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 ')\x0D\x0A\x09\x09\x09\x09\x09\x09and B.gviewperm=1' at line 10
SELECT count(A.fid) as num from forum_forum A inner join forum_forumfield B on A.fid=B.fid where A.type='sub' and A.status =3 and A.is_delete = 0 and A.level>=0 and A.fid in () and B.gviewperm=1

PHP Debug

No.FileLineCode
1group.php112require(%s)
2source/module/group/group_list_by_category.php113discuz_database::result_first(%s)
3source/class/discuz/discuz_database.php117discuz_database::query(%s, Array, false, false)
4source/class/discuz/discuz_database.php135db_driver_mysql->query(%s, false, false)
5source/class/db/db_driver_mysql.php152db_driver_mysql->halt(%s, %d, %s)
6source/class/db/db_driver_mysql.php223break()
www.kanchuan100.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.