Title: Database error when publishing post
Last modified: August 18, 2016

---

# Database error when publishing post

 *  [BJ05](https://wordpress.org/support/users/bj05/)
 * (@bj05)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/database-error-when-publishing-post/)
 * I just upgraded to 2.3 without a problem using the usual protocol, but when I
   write a post and “publish” it, I get the following error message.
 * `**WordPress database error: [Table ‘fronter_mextruck.wp_categories’ doesn’t 
   exist]
    SELECT c.cat_ID AS ID, MAX(p.post_modified) AS last_mod FROM `wp_categories`
   c, `wp_post2cat` pc, `wp_posts` p WHERE pc.category_id = c.cat_ID AND p.ID = 
   pc.post_id AND p.post_status = ‘publish’ AND p.post_type=’post’ GROUP BY c.cat_id
 * However, the post shows on the blog as it is supposed to, in the proper category
   in which it was placed.
 * I’m bumfuzzled!

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

 *  Moderator [Dion Hulse](https://wordpress.org/support/users/dd32/)
 * (@dd32)
 * Meta Developer
 * [18 years, 8 months ago](https://wordpress.org/support/topic/database-error-when-publishing-post/#post-624831)
 * the wp_categories table is no longer used by wordpress, Most likely you have 
   a plugin installed which is not compatible.
 * The Google XML sitemaps plugin is a common one which would produce that error,
   See this list for other possibilities:
    [http://codex.wordpress.org/Plugins/Plugin_Compatibility/2.3#Non-working_plugins.2C_or_has_issues](http://codex.wordpress.org/Plugins/Plugin_Compatibility/2.3#Non-working_plugins.2C_or_has_issues)
 *  [Arne](https://wordpress.org/support/users/arnee/)
 * (@arnee)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/database-error-when-publishing-post/#post-624867)
 * Upgrade the Google Sitemaps plugin and any other plugins which use the old category
   tables.
 * Compatible plugins: [http://codex.wordpress.org/Plugins/Plugin_Compatibility/2.3](http://codex.wordpress.org/Plugins/Plugin_Compatibility/2.3)
 * Google Sitemaps Plugin: [http://wordpress.org/extend/plugins/google-sitemap-generator/](http://wordpress.org/extend/plugins/google-sitemap-generator/)

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

The topic ‘Database error when publishing post’ is closed to new replies.

## Tags

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
