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 f.posts + f.threads DESC' at line 1
SELECT f.fid, f.name FROM forum_groupuser g LEFT JOIN forum_forum f ON f.fid = g.fid WHERE ORDER BY f.posts + f.threads DESC

PHP Debug

No.FileLineCode
1forum.php67require(%s)
2source/module/forum/forum_viewthread.php1004include(%s)
3data/template/24_diy_forum_viewthread_54.tpl.php1hookscriptoutput(%s)
4source/function/function_core.php1215hookscript(%s, %s, %s, Array)
5source/function/function_core.php1174call_user_func(Array, Array)
6plugin_nds_showgroups_forum->viewthread_sidebottom_output(Array)
7source/plugin/nds_showgroups/nds_showgroups.class.php130plugin_nds_showgroups->nds_showgroups_go(%d, %s, %s, %s, %d)
8source/plugin/nds_showgroups/nds_showgroups.class.php76table_forum_groupuser_nds->fetch_all_fid_by_uid(%s, %s, %s, %d, %s)
9source/plugin/nds_showgroups/table/table_forum_groupuser_nds.php41discuz_database::query(%s, Array)
10source/class/discuz/discuz_database.php139db_driver_mysql->query(%s, false, false)
11source/class/db/db_driver_mysql.php152db_driver_mysql->halt(%s, %d, %s)
12source/class/db/db_driver_mysql.php223break()
www.lyunx.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.