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 'AND displayorder>=0 AND isgroup=0 ) UNION (SELECT dateline FROM home_blog ' at line 1
(SELECT dateline FROM forum_thread WHERE authorid= AND displayorder>=0 AND isgroup=0 ) UNION (SELECT dateline FROM home_blog WHERE uid= AND status=0) UNION (SELECT dateline FROM home_album WHERE uid= AND picflag=1 ) UNION (SELECT dateline FROM home_share WHERE uid= AND status=0 AND type IN ('thread','blog','pic','album') ) ORDER BY dateline DESC

PHP Debug

No.FileLineCode
1home.php39runhooks(%s)
2source/function/function_core.php1118hookscript(%s, %s, %s, Array, %s)
3source/function/function_core.php1167plugin_kucg_timeline->common(Array)
4source/plugin/kucg_timeline/kucg_timeline.class.php41require_once(%s)
5source/plugin/kucg_timeline/kucg_index.php73require_once(%s)
6source/plugin/kucg_timeline/kucg_timeline.php228discuz_database::fetch_all(%s)
7source/class/discuz/discuz_database.php100discuz_database::query(%s, Array, false, false)
8source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
9source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
10source/class/db/db_driver_mysql.php224break()
www.ruadapalma.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?