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 '' at line 10
SELECT f.*,t.views,t.replies,t.subject,t.tid,t.author,t.authorid,t.favtimes FROM home_favorite f join forum_thread t on t.tid=f.id WHERE f.`uid` ='78550' AND f.`idtype`='tid' and t.isgroup=0 and t.displayorder>=0 order by f.dateline desc limit 0,

PHP Debug

No.FileLineCode
1home.php42require_once(%s)
2source/module/home/home_space.php125include(%s)
3source/plugin/yxf_homeinfoext/space_fav.php33discuz_database::query(%s)
4source/class/discuz/discuz_database.php136db_driver_mysql_slave->query(%s, false, false)
5source/class/db/db_driver_mysql_slave.php89db_driver_mysql->query(%s, false, false)
6source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
7source/class/db/db_driver_mysql.php224break()
paoxue.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?