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 ') AND tag.idtype='tid' AND thread.sortid=5 and thread.closed=0 and thread.displa' at line 1
SELECT thread.tid,thread.subject,thread.dateline FROM common_tagitem AS tag INNER JOIN forum_thread as thread on tag.itemid=thread.tid WHERE tag.tagid in() AND tag.idtype='tid' AND thread.sortid=5 and thread.closed=0 and thread.displayorder>=0 GROUP BY thread.tid ORDER BY thread.dateline desc LIMIT 30

PHP Debug

No.FileLineCode
1forum.php67require(%s)
2source/module/forum/forum_viewthread.php1010include(%s)
3data/template/3_diy_forum_viewthread.tpl.php5707viewthreadWidgets::getVideoRelative()
4template/st_v1/widgets/viewthreadWidgets.php115discuz_database_ext::fetch_all()
5data/sysdata/discuz_database_ext20210203~0317~51.php106discuz_database_ext::query()
6data/sysdata/discuz_database_ext20210203~0317~51.php142db_driver_mysqli->query()
7source/class/db/db_driver_mysqli.php148db_driver_mysqli->halt()
8source/class/db/db_driver_mysqli.php223break()
shequ.stmicroelectronics.cn 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.