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=1230228 AND nums >= ORDER BY nums DESC

PHP Debug

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