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

---

# WordPress Database Error

 *  [iwebie_com](https://wordpress.org/support/users/iwebie_com/)
 * (@iwebie_com)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/wordpress-database-error-32/)
 * Hello All,
 * I have hosted my blog on [http://www.iwebie.com](http://www.iwebie.com). I suddenly
   started getting WordPress Database Errors After migrating to a new theme.
    -  **The following is the Error**
 * _WordPress database error: [You have an error in your SQL syntax; check the manual
   that corresponds to your MySQL server version for the right syntax to use near‘
   WHERE post\_id=4272’ at line 1]
    DELETE FROM WHERE post\_id=4272
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home1/iwebieco/public_html/wp-includes/wp-db.php:517) in /home1/iwebieco/
   public_html/wp-includes/pluggable.php on line 770
 * Please help me resolve this…
 * Regards,
    Hemanth

Viewing 1 replies (of 1 total)

 *  [Doodlebee](https://wordpress.org/support/users/doodlebee/)
 * (@doodlebee)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/wordpress-database-error-32/#post-883484)
 * If it happened when changing the theme, my guess is it’s the functions.php file.
   I’d rename that file to something like “functionsOLD.php” If the errors go away,
   then you know I’m right. If they don’t, then you might want to deactivate your
   plugins and see if that helps. If it still doesn’t, then it must be some custom
   code within the theme files themselves. You’ll have to hunt for it.

Viewing 1 replies (of 1 total)

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Doodlebee](https://wordpress.org/support/users/doodlebee/)
 * Last activity: [17 years, 7 months ago](https://wordpress.org/support/topic/wordpress-database-error-32/#post-883484)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
