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 '' at line 1
SELECT authorid FROM forum_thread WHERE tid=

PHP Debug

No.FileLineCode
1forum.php67require(%s)
2source/module/forum/forum_viewthread.php27showmessage()
3source/function/function_core.php1425dshowmessage()
4source/function/function_message.php237include(%s)
5data/template/2_2_common_showmessage.tpl.php1hookscriptoutput()
6source/function/function_core.php1222hookscript()
7source/function/function_core.php1181plugin_it618_attachdisplay_forum->viewthread_posttop_output()
8source/plugin/it618_attachdisplay/attachdisplay.class.php34discuz_database::result_first()
9source/class/discuz/discuz_database.php123discuz_database::query()
10source/class/discuz/discuz_database.php142db_driver_mysqli->query()
11source/class/db/db_driver_mysqli.php148db_driver_mysqli->halt()
12source/class/db/db_driver_mysqli.php223break()
17zzy.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.