Discuz! Database Error

(1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB 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.php67require(%s)
2source/module/forum/forum_viewthread.php1007include(%s)
3data/template/1_diy_forum_viewthread.tpl.php1hookscriptoutput(%s)
4source/function/function_core.php1218hookscript(%s, %s, %s, Array)
5source/function/function_core.php1177call_user_func(Array, Array)
6plugin_nds_showgroups_forum->viewthread_imicons_output(Array)
7source/plugin/nds_showgroups/nds_showgroups.class.php135plugin_nds_showgroups->nds_showgroups_go(%d, %s, %s, %d, %d, %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.tianmawx.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.