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 'group by t.tid order by i.index limit 10,10' at line 1
select t.tid,t.author,t.heats,t.replies, t.subject, t.typeid, t.views ,i.pic from forum_thread t left join common_recommend_index i on t.tid = i.tid left join common_recommend_cl_in ci on i.tid = ci.tid left join common_recommend_class c on ci.cid = c.cid where c.lid = group by t.tid order by i.index limit 10,10

PHP Debug

No.FileLineCode
1interface2.php49discuz_database::query(%s)
2source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
3source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
4source/class/db/db_driver_mysql.php224break()
8liuxing.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?