WordPress database error
-
Today I have noticed the below errors. Is there somebody who understand what does the errors mean and navigate how to fixed them? The site seems to work with no problems.
[29-Jul-2014 07:59:01 UTC] 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 ‘)’ at line 1 for query SELECT ID, post_title, post_parent FROM wp_posts WHERE post_status = ‘inherit’ AND post_type = ‘attachment’ AND post_parent IN () made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_post_type_map
[29-Jul-2014 07:59:01 UTC] 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 ‘)’ at line 1 for query SELECT ID, post_title, post_parent FROM wp_posts WHERE post_status = ‘inherit’ AND post_type = ‘attachment’ AND post_parent IN () made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_post_type_map
[29-Jul-2014 07:59:01 UTC] 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 ‘)’ at line 1 for query SELECT meta_value FROM wp_postmeta WHERE meta_key = ‘_thumbnail_id’ AND post_id IN () made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_post_type_map
[29-Jul-2014 07:59:01 UTC] 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 ‘)’ at line 1 for query SELECT meta_value FROM wp_postmeta WHERE meta_key = ‘_thumbnail_id’ AND post_id IN () made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_post_type_mapGreat thank you for any advice!
- The topic ‘WordPress database error’ is closed to new replies.