Support » Fixing WordPress » WordPress Database Error

  • Hello All,

    I have hosted my blog on 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)
  • 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.