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 dateline desc limit 0,5' at line 1
select tid,subject from forum_thread where displayorder>='0' AND authorid= ORDER BY dateline desc limit 0,5

PHP Debug

No.FileLineCode
1forum.php71require('/home/tizg ...')
2source/module/forum/forum_viewthread.php998include('/home/tizg ...')
3data/template/3_diy_forum_viewthread.tpl.php1hookscriptoutput('viewthread')
4source/function/function_core.php1209hookscript('viewthread', 'forum', 'outputfunc ...', Array)
5source/function/function_core.php1169plugin_keke_taht_forum->viewthread_sidebottom_output(Array)
6source/plugin/keke_taht/keke_taht.class.php11plugin_keke_taht_forum->getdata('2')
7source/plugin/keke_taht/keke_taht.class.php56discuz_database::query('select tid ...')
8source/class/discuz/discuz_database.php136db_driver_mysql->query('select tid ...', false, false)
9source/class/db/db_driver_mysql.php153db_driver_mysql->halt('You have a ...', 1064, 'select tid ...')
10source/class/db/db_driver_mysql.php224break()
www.studyjamscn.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?