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 'ORDER BY threads DESC LIMIT 0,1' at line 1
SELECT fid,uid,threads FROM forum_groupuser WHERE uid = ORDER BY threads DESC LIMIT 0,1

PHP Debug

No.FileLineCode
1forum.php76require(%s)
2source/module/forum/forum_viewthread.php998include(%s)
3data/template/11_diy_forum_viewthread_portal.tpl.php1hookscriptoutput(%s)
4source/function/function_core.php1207hookscript(%s, %s, %s, Array)
5source/function/function_core.php1167plugin_wmff_tieneiqunzu_forum->viewthread_postbottom_output(Array)
6source/plugin/wmff_tieneiqunzu/wmff_tieneiqunzu.class.php117plugin_wmff_tieneiqunzu_forum->wmff_tieneiqunzu_go()
7source/plugin/wmff_tieneiqunzu/wmff_tieneiqunzu.class.php56discuz_database::query(%s)
8source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
9source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
10source/class/db/db_driver_mysql.php224break()
seeviet.net 已經將此出錯信息詳細記錄, 由此給您帶來的訪問不便我們深感歉意. Need Help?