Error “wp_post2cat’ doesn’t exist” after upgrading to v2.3.1
Yesterday I upgraded my blog to the latest wordpress script v2.3.1
All went fine but when I was posting a new post or editing an existing post, I got following database error:
WordPress database error: [Table ‘wrdp1.wp_post2cat’ doesn’t exist]
SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM `wp_posts` p LEFT JOIN `wp_post2cat` pc ON p.ID = pc.post_id LEFT JOIN `wp_categories` c ON pc.category_id = c.cat_ID WHERE post_status = ‘publish’ GROUP BY cat_IDWarning: Cannot modify header information - headers already sent by (output started at /public_html/wp-includes/wp-db.php:160) in
/public_html/wp-includes/pluggable.php on line 391
Even though i was getting this error, the posts got successfully posted on the main blog side.
Then I found that the latest script removed the post2cat, link2cat and categories table. And also found that Google sitemap plugin v2.7.1 (even though this is the latest version) was creating this problem.
I disabled this plugin and now everything is working fine. So dont get panic, just disable the plugin and keep reading dirkut blog for trouble free webmastering ![]()
Popularity: 20% [?]





