top of page

My Blog Is Terribly Broken

  • Writer: Shikhar singh
    Shikhar singh
  • Dec 23, 2004
  • 1 min read

If you load up your blog and see something like this:

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 ',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,] SELECT DISTINCT ID, category_id, cat_name, category_nicename, category_description, category_parent FROM blog_categories, blog_post2cat, blog_posts WHERE category_id = cat_ID AND post_id = ID AND post_id IN (,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,) Warning: Invalid argument supplied for foreach() in /path/to/wordpress/wp-blog-header.php on line 478

Don’t worry, nothing happened to your data or WordPress. Your host probably just upgraded PHP to version 4.3.10 and forgot to upgrade the Zend Optimizer. We already have a support thread about it. The PHP download page says:

Note: Due to an incompatibility between earlier versions of Zend Optimizer and PHP 4.3.10, it’s recommended to upgrade to the latest version.

So contact your host and let them know what’s happening, and they should be able to fix everything.

Share this:

Recent Posts

See All
WordPress 4.9 Release Candidate 3

The third release candidate for WordPress 4.9 is now available. A release candidate (RC) means we think we’re done, but with millions of...

 
 
 
WordPress 4.9 Beta 3

WordPress 4.9 Beta 3 is now available! This software is still in development, so we don’t recommend you run it on a production site....

 
 
 

Comments


bottom of page