Title: WordPress Database Error
Last modified: August 18, 2016

---

# WordPress Database Error

 *  Resolved [markdickenson](https://wordpress.org/support/users/markdickenson/)
 * (@markdickenson)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-15/)
 * Hello Everyone,
 * This is my first wordpress blog and I am following instrucitons in a book on 
   how to do this. When I went to write a test post, I got a wordpress database 
   error. The post was posted on my blog, however.
 * Also, I got the header error when using another theme every time I went to activate
   a plug in..so changing the theme fixed that. Anyhow, here is the error:
 * WordPress database error: [Table ‘markd_wrdp1.wp_post2cat’ doesn’t exist]
    SELECT
   c.cat_name FROM wp_post2cat p2c INNER JOIN wp_categories c ON p2c.category_id
   = c.cat_id WHERE p2c.post_id = 7
 * WordPress database error: [Table ‘markd_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 ‘markd_wrdp1.wp_post2cat’ doesn’t exist]
    SELECT
   c.cat_name FROM wp_post2cat p2c INNER JOIN wp_categories c ON p2c.category_id
   = c.cat_id WHERE p2c.post_id = 7
 * WordPress database error: [Table ‘markd_wrdp1.wp_post2cat’ doesn’t exist]
    SELECT
   c.cat_name FROM wp_post2cat p2c INNER JOIN wp_categories c ON p2c.category_id
   = c.cat_id WHERE p2c.post_id = 7
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/markd/public_html/sedona-method-review/wp-includes/wp-db.php:160) in/
   home/markd/public_html/sedona-method-review/wp-includes/pluggable.php on line
   391
 * Any help would be aprreciated
 * Thanks
 * -Mark

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

 *  [Les Bessant](https://wordpress.org/support/users/lesbessant/)
 * (@lesbessant)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-15/#post-656696)
 * Either your theme or a plugin is not compatible with WordPress 2.3.x. Please 
   see the sticky post for more information and advice:
 * [http://wordpress.org/support/topic/135564?replies=79](http://wordpress.org/support/topic/135564?replies=79)
 *  Thread Starter [markdickenson](https://wordpress.org/support/users/markdickenson/)
 * (@markdickenson)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-15/#post-656881)
 * Thank you..I really appreciate it

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

The topic ‘WordPress Database Error’ is closed to new replies.

## Tags

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
