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 g.threads+g.replies 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 g.threads+g.replies DESC

PHP Debug

No.FileLineCode
1forum.php72require(%s)
2source/module/forum/forum_viewthread.php1004include(%s)
3data/template/19_diy_forum_viewthread.tpl.php1hookscriptoutput(%s)
4source/function/function_core.php1211hookscript(%s, %s, %s, Array)
5source/function/function_core.php1170_2285740450(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.php137db_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()
bbs.yuzread.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.