Title: wp-db.php and wp-includes/pluggable.php
Last modified: August 18, 2016

---

# wp-db.php and wp-includes/pluggable.php

 *  Resolved [elking3400](https://wordpress.org/support/users/elking3400/)
 * (@elking3400)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wp-dbphp-and-wp-includespluggablephp/)
 * Hey everyone, i have this silly problem
    whenever i do publish/save/edit any 
   post or page or category i get this error i attached a pic [](http://i23.tinypic.com/vwwihj.gif)
 * any help plz?!

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

 *  [spencerp](https://wordpress.org/support/users/spencerp/)
 * (@spencerp)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wp-dbphp-and-wp-includespluggablephp/#post-624815)
 * I’m not sure about the MAIN ERROR there, but for headers already sent, please
   follow this [guide](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F).
 *  Moderator [Dion Hulse](https://wordpress.org/support/users/dd32/)
 * (@dd32)
 * Meta Developer
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wp-dbphp-and-wp-includespluggablephp/#post-624817)
 * The error is saying that it cant connect to the MySQL Server, I’d say its most
   likely a plugin given the error.
 * I’d strongly recomend you upgrade to the latest version of wordpress however,
   2.1.3 is unsupported and 2.3 was just released.
 *  Thread Starter [elking3400](https://wordpress.org/support/users/elking3400/)
 * (@elking3400)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wp-dbphp-and-wp-includespluggablephp/#post-624827)
 * thanks bro for ur help
    but i already got it managed it was the plugin resposible
   for generating the XML for google and stuff i disabled it and its gone Thanks
 *  [spencerp](https://wordpress.org/support/users/spencerp/)
 * (@spencerp)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wp-dbphp-and-wp-includespluggablephp/#post-624829)
 * Oh ok! Good to hear! What plugin was it by the way? Google Site Maps? If so, 
   you need to upgrade your [Google Sitemaps](http://wordpress.org/support/topic/135160?replies=6)
   plugin to the [latest version.](http://codex.wordpress.org/Plugins/Plugin_Compatibility/2.3)
   Also, can you mark this thread [Resolved] then too, please? Thanks. =)
 *  Thread Starter [elking3400](https://wordpress.org/support/users/elking3400/)
 * (@elking3400)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wp-dbphp-and-wp-includespluggablephp/#post-624918)
 * Will update for sure
    Thanks 😉
 *  [hterry](https://wordpress.org/support/users/hterry/)
 * (@hterry)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wp-dbphp-and-wp-includespluggablephp/#post-625284)
 * Checked the guide as I am getting this error as well but it doesn’t wash.
 * > WordPress database error: [Table ‘hterry3_wordpress.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 ‘hterry3_wordpress.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 /home2/hterry3/public_html/wp-includes/wp-db.php:160) in /home2/
   > hterry3/public_html/wp-includes/pluggable.php on line 390
 * My wp-db.php line 160 is
 * >  </div>”;
 * so I’m at a loss.

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

The topic ‘wp-db.php and wp-includes/pluggable.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 4 participants
 * Last reply from: [hterry](https://wordpress.org/support/users/hterry/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/wp-dbphp-and-wp-includespluggablephp/#post-625284)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
