• I just upgraded to version 2.51. (from, I think, something like 2.1 or 2.2). Then I logged in and tried to delete 3 posts. I got this error, 3 times:

    WordPress database error: [Table ‘WP_trs_inhouse.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_ID

    What causes this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Check out this topic: Solution for 2.3 database errors / wp_post2cat does not exist (99 posts)

    Sounds like an incompatible theme or plugin.

    Thread Starter lkrubner

    (@lkrubner)

    Wow. I just logged into the server and did this:

    grep -R wp_post2cat *

    And I got nothing back! Can anyone think of how I’m getting these errors, which mention wp_post2cat, when “wp_post2cat” doesn’t appear in any file in my WordPress installation? Could some queries actually be stored in the database?

    I’m running grep recursively from the top level of the site, so everything, including all plugins and themes, should be included here.

    Version 2.5.1 is totally screwing up my site.

    grep -R wp_post2cat *

    and you wont either. Since wp_ is a variable that is, and always has been, stored inside wp-config.php

    computer programmer m*(& &^$&*

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘just upgraded and now I get errors when I try to delete anything’ is closed to new replies.