Title: Database problem
Last modified: August 19, 2016

---

# Database problem

 *  Resolved [wizardgold](https://wordpress.org/support/users/wizardgold/)
 * (@wizardgold)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/database-problem-8/)
 * I am getting the following message each time I make a post to the blog. It went
   like that after I upgraded the installation – maybe the last time or the time
   before that.
 * Word press is still working for me – the post goes in and the site is working
   but this message is bugging me loads.
 * Anyone with ideas of how I can recticfy the problem
 * **WordPress database error: [Table ‘user_440780.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 ‘user_440780.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/content/w/i/z/wizardgold/html/wordpress/wp-includes/wp-db.php:160) in/
   home/content/w/i/z/wizardgold/html/wordpress/wp-includes/pluggable.php on line
   391
 * I have had success upgrading other word press installations , only this one is
   giving me this problem.
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/database-problem-8/#post-703772)
 * Take a closer look at this:
    **post2cat’ doesn’t exist** and then go back to 
   the forum’s main page and read! (hint: sticky)
 *  Thread Starter [wizardgold](https://wordpress.org/support/users/wizardgold/)
 * (@wizardgold)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/database-problem-8/#post-703848)
 * I changed the theme and that didn’t sort out the problem but I am pleased to 
   say that I found the problem in the Google site map plug in.
 * Thats great the problem had been bugging me for a while.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Database problem’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [wizardgold](https://wordpress.org/support/users/wizardgold/)
 * Last activity: [18 years, 3 months ago](https://wordpress.org/support/topic/database-problem-8/#post-703848)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
