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 ')) OR (wp_posts.post_title LIKE '%search_center.html%') OR (wp_posts.post_conten' at line 1]
SELECT DISTINCT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts LEFT JOIN wp_ec3_schedule ec3_sch ON ec3_sch.post_id=id INNER JOIN wp_users ON wp_users.ID=wp_posts.post_author LEFT JOIN wp_comments ON wp_comments.comment_post_ID=wp_posts.ID INNER JOIN wp_postmeta ON wp_postmeta.post_id=wp_posts.ID WHERE 1=1 AND (((wp_users.display_name LIKE '%search_center.html%') OR (wp_comments.comment_author LIKE '%search_center.html%') OR (wp_comments.comment_author_url LIKE '%search_center.html%') OR (wp_comments.comment_content LIKE '%search_center.html%') OR (wp_posts.post_name LIKE '%search_center.html%') OR (wp_posts.post_excerpt LIKE '%search_center.html%') OR (wp_postmeta.meta_value LIKE '%search_center.html%' AND wp_postmeta.meta_key IN ()) OR (wp_posts.post_title LIKE '%search_center.html%') OR (wp_posts.post_content LIKE '%search_center.html%'))) AND (wp_posts.post_password = '') AND wp_posts.post_type IN ('post', 'page', 'attachment') AND (wp_posts.post_status = 'publish') AND (ec3_sch.post_id IS NULL OR ec3_sch.end>='2012-02-05 00:00:00') GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10