去评论
dz插件网

php8.0+mysql-5.5,发帖报错

浅生
2023/01/10 07:22:37
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 displayorder>=0 order by dateline DESC LIMIT 0,12' at line 1SELECT tid,subject,fid,highlight FROM forum_thread where authorid='1' and fid not in() and displayorder>=0 order by dateline DESC LIMIT 0,12

PHP Debug
No.FileLineCode
1forum.php71require(%s)
2source/module/forum/forum_viewthread.php1025include(%s)
3data/template/1_diy_forum_viewthread.tpl.php1hookscriptoutput(%s)
4source/function/function_core.php1358hookscript(%s, %s, %s, Array)
5source/function/function_core.php1314plugin_nimba_thot_forum->viewthread_postbottom_output(Array)
6source/plugin/nimba_thot/hook.class.php113plugin_nimba_thot_core->_show_in_viewthread()
7source/plugin/nimba_thot/hook.class.php84discuz_database::fetch_all(%s)
8source/class/discuz/discuz_database.php106discuz_database::query(%s, Array, false, false)
9source/class/discuz/discuz_database.php142db_driver_mysqli->query(%s, false, false)
10source/class/db/db_driver_mysqli.php147db_driver_mysqli->halt(%s, %d, %s)
11source/class/db/db_driver_mysqli.php222break()


我知道答案 回答被采纳将会获得5 金币 已有3人回答