[resolved] WordPress database error (4 posts)

  1. awesty
    Posted 8 years ago #

    I have just upgraded to 2.3 but when I try to publish or save a post I get this error:

    WordPress database error: [Table 'wordp.wp_post2cat' doesn't exist]
    SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM <code>wp_posts</code> p LEFT JOIN <code>wp_post2cat</code> pc ON p.ID = pc.post_id LEFT JOIN <code>wp_categories</code> c ON pc.category_id = c.cat_ID WHERE post_status = 'publish' GROUP BY cat_ID
    Warning: Cannot modify header information - headers already sent by (output started at /home/******/******/******/wp-includes/wp-db.php:160) in /home/******/******/******/wp-includes/pluggable.php on line 390
  2. justinratwebtek
    Posted 8 years ago #

    Have you checked to make sure the DB has wordp.wp_post2cat in it? Something may have happened during the Upgrade...

  3. MichaelH
    Posted 8 years ago #

    The table wp_post2cat no longer exists in WordPress 2.3.

    Please review this thread:

    Essentially you have a theme or a plugin that is not 2.3 compatible.

  4. awesty
    Posted 8 years ago #

    Okay, thanks. It turns out i wasn't using the latest version of Google Sitemaps.

Topic Closed

This topic has been closed to new replies.

About this Topic