Discuz! Database Error

(1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '?cid=2617,2964) AND t.displayorder>=0' at line 1
SELECT count(*) FROM forum_collectionthread as ct inner join forum_thread as t on ct.tid=t.tid WHERE ctid IN(2617,2964?cid=2617,2964) AND t.displayorder>=0

PHP Debug

No.FileLineCode
1plugin.php47include(%s)
2source/plugin/chs_waterfall/waterfall.inc.php36table_forum->count_collection_thread(Array, %s, %s)
3source/plugin/chs_waterfall/table/table_forum.php115discuz_database::result_first(%s)
4data/sysdata/discuz_database_ext.php510discuz_database_ext::query(%s, Array, false, false)
5data/sysdata/discuz_database_ext.php139db_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()
www.ai010.xyz 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?