升级到 WordPress 2.0.3

WordPress 2.0 升级到了2.0.3稳定版。这一次偷懒没有先停止插件,结果升级后文章无法显示,报如下错误:

WordPress database error: [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 comment_approved != ‘spam’ ORDER BY
comment_date’ at line 1]
SELECT * FROM wp_comments WHERE comment_post_ID = AND comment_approved
!= ‘spam’ ORDER BY comment_date

想来想去应该只有可能是插件不兼容造成的,只好乖乖地用枚举法逐个停掉,最终定位到 Adhesive 上面。
所以以后升级还是不要偷懒的好,先停插件不是坏事。

posted: 2006/07/21
under: WordPress