• In the last week, I have been unable to access my site “not found message” is diplayed on all the pages. My host (Bluehost) looked at the site and said it was a wordpress database error. They suggested I ask the community for help. I have the error message I received:

    [11-Dec-2013 06:46:04 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 ‘FROM wp_posts WHERE 1=1 ORDER BY wp_posts.post_date DESC’ at line 1 for query SELECT FROM wp_posts WHERE 1=1 ORDER BY wp_posts.post_date DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [11-Dec-2013 06:46:06 UTC] PHP Warning: Parameter 1 to ec3_filter_posts_where() expected to be a reference, value given in /home1/deerholm/public_html/wp-includes/plugin.php on line 256
    [11-Dec-2013 06:46:06 UTC] PHP Warning: Parameter 1 to ec3_filter_posts_join() expected to be a reference, value given in /home1/deerholm/public_html/wp-includes/plugin.php on line 256
    [11-Dec-2013 06:46:06 UTC] PHP Warning: Parameter 1 to ec3_filter_posts_groupby() expected to be a reference, value given in /home1/deerholm/public_html/wp-includes/plugin.php on line 256
    [11-Dec-2013 06:46:06 UTC] PHP Warning: Parameter 1 to ec3_filter_posts_fields() expected to be a reference, value given in /home1/deerholm/public_html/wp-includes/plugin.php on line 256
    [11-Dec-2013 06:46:06 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 ‘FROM wp_posts WHERE 1=1 ORDER BY wp_posts.post_date DESC’ at line 1 for query SELECT FROM wp_posts WHERE 1=1 ORDER BY wp_posts.post_date DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts

    http://www.deerholme.com

    Any suggestions??

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘SQL Database errors’ is closed to new replies.