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 addtime DESC LIMIT 0, 20' at line 1
SELECT * FROM archives_comments WHERE 1 AND type= ORDER BY addtime DESC LIMIT 0, 20

PHP Debug

No.FileLineCode
1plugin.php47include(%s)
2source/plugin/archives/view.inc.php106table_archives_comments->fetch_all_by_search(%s, %d, %d)
3source/plugin/archives/table/table_archives_comments.php33discuz_database::fetch_all(%s, Array)
4source/class/discuz/discuz_database.php100discuz_database::query(%s, Array, false, false)
5source/class/discuz/discuz_database.php136db_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()
www.erongzhan.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?