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 c.fid DESC' at line 1
select * from designm_form_credits_1 as a Left JOIN forum_forumfield as b ON a.uid = b.founderuid Left JOIN forum_forum as c ON b.fid = c.fid WHERE c.fup=156 and c.type='sub' and c.status=3 and founderuid= ORDER BY c.fid DESC

PHP Debug

No.FileLineCode
1plugin.php47include(%s)
2source/plugin/designm/mygroups.inc.php62table_designm::showtableinfo(%s, %s)
3source/plugin/designm/table/table_designm.php178discuz_database::fetch_all(%s)
4source/class/discuz/discuz_database.php100discuz_database::query(%s, Array, false, false)
5source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
6source/class/db/db_driver_mysql.php151db_driver_mysql->halt(%s, %d, %s)
7source/class/db/db_driver_mysql.php218break()
studio-ampersand.com 已經(jīng)將此出錯信息詳細(xì)記錄, 由此給您帶來的訪問不便我們深感歉意. Need Help?