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 nums DESC' at line 1
SELECT * FROM site_post_praise_plog WHERE tid=0 AND nums >= ORDER BY nums DESC

PHP Debug

No.FileLineCode
1forum.php187require(%s)
2source/module/forum/forum_viewthread.php98showmessage(%s)
3source/function/function_core.php2876dshowmessage(%s, %s, Array, Array, %d)
4source/function/function_message.php230include(%s)
5data/template/3_3_common_showmessage.tpl.php1hookscriptoutput(%s)
6source/function/function_core.php2472hookscript(%s, %s, %s, Array)
7source/function/function_core.php2408plugin_post_praise_forum->viewthread_endline_output(Array)
8source/plugin/post_praise/hook.class.php129table_site_post_praise_plog->select_all(%d, %s, %d, %s)
9source/plugin/post_praise/table/table_site_post_praise_plog.php51discuz_database::fetch_all(%s)
10source/class/discuz/discuz_database.php110discuz_database::query(%s, Array, false, false)
11source/class/discuz/discuz_database.php202db_driver_mysql_slave->query(%s, false, false)
12source/class/db/db_driver_mysql_slave.php62db_driver_mysql->query(%s, false, false)
13source/class/db/db_driver_mysql.php174db_driver_mysql->halt(%s, %d, %s)
14source/class/db/db_driver_mysql.php261break()
longyu.cc 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?