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 dateline > 0 order by views desc limit 0,10' at line 1
select tid,subject from forum_thread where fid= and dateline > 0 order by views desc limit 0,10

PHP Debug

No.FileLineCode
1forum.php63runhooks()
2source/function/function_core.php1134hookscript(%s, %s, %s, Array, %s, %s)
3source/function/function_core.php1181call_user_func(Array, Array)
4plugin_pg_hottopic_forum->viewthread_modaction(Array)
5source/plugin/pg_hottopic/hook.class.php112plugin_pg_hottopic->getVersionHot(%s, %d, %s)
6source/plugin/pg_hottopic/hook.class.php60discuz_database::fetch_all(%s)
7source/class/discuz/discuz_database.php106discuz_database::query(%s, Array, false, false)
8source/class/discuz/discuz_database.php142db_driver_mysql->query(%s, false, false)
9source/class/db/db_driver_mysql.php152db_driver_mysql->halt(%s, %d, %s)
10source/class/db/db_driver_mysql.php223break()
51gwp.cn 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.