{"id":142,"date":"2004-12-23T00:54:58","date_gmt":"2004-12-23T00:54:58","guid":{"rendered":"http:\/\/wordpress.org\/development\/2004\/12\/terribly-broken\/"},"modified":"2021-06-04T11:58:33","modified_gmt":"2021-06-04T11:58:33","slug":"terribly-broken","status":"publish","type":"post","link":"https:\/\/wordpress.org\/news\/2004\/12\/terribly-broken\/","title":{"rendered":"My Blog Is Terribly Broken"},"content":{"rendered":"<p>If you load up your blog and see something like this:<\/p>\n<blockquote><p><code>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 ',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,]<br \/>\nSELECT 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 (,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,)<br \/>\nWarning: Invalid argument supplied for foreach() in \/path\/to\/wordpress\/wp-blog-header.php on line 478<br \/>\n<\/code><\/p><\/blockquote>\n<p>Don&#8217;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 <a href=\"https:\/\/wordpress.org\/support\/3\/18678\">have a support thread about it<\/a>. The <a href=\"http:\/\/www.php.net\/downloads.php\">PHP download<\/a> page says:<\/p>\n<blockquote><p>Note: Due to an incompatibility between earlier versions of Zend Optimizer and PHP 4.3.10, it&#8217;s recommended to upgrade to the <a href=\"http:\/\/zend.com\/store\/products\/zend-optimizer.php\">latest version<\/a>.<\/p><\/blockquote>\n<p>So contact your host and let them know what&#8217;s happening, and they should be able to fix everything.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8216;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,] 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"episode_type":"","audio_file":"","podmotor_file_id":"","podmotor_episode_id":"","cover_image":"","cover_image_id":"","duration":"","filesize":"","filesize_raw":"","date_recorded":"","explicit":"","block":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[6],"tags":[],"class_list":["post-142","post","type-post","status-publish","format-standard","hentry","category-documentation"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pZhYe-2i","_links":{"self":[{"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/posts\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":2873,"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/posts\/142\/revisions\/2873"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/media?parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/categories?post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/tags?post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}