Support » Fixing WordPress » Database error

  • Resolved Andrew Ledwith

    (@jaledwith)


    I’ve been getting this error when I post on my blog.

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

    Warning: Cannot modify header information – headers already sent by (output started at /home/jaledwit/public_html/wordpress/wp-includes/wp-db.php:216) in /home/jaledwit/public_html/wordpress/wp-includes/pluggable.php on line 689

    This is not a 2.5 issue, since it was giving me this problem in 2.3.3. Can someone help me out?

    Andrew
    jaledwith.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • Len

    (@lenk)

    post2cat (as well as link2cat and categories) were dropped as of 2.3 in favour of term_relationship & term_taxonomy. Something is calling it, probably an outdated plugin.

    Interesting. Thanks for the knowledge.

    Okay, found the screwy plugin. Thanks again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Database error’ is closed to new replies.