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 's') GROUP BY wp_posts.ID HAVING COUNT(ID) = 1 ORDER BY post_date DESC LIMIT 0, ' at line 1]
SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts LEFT JOIN wp_stp_tags AS stptags ON (wp_posts.ID = stptags.post_id) WHERE 1=1 AND (post_type IN('page', 'post') AND (post_status IN('static', 'publish'))) AND stptags.tag_name IN ('TOM's') GROUP BY wp_posts.ID HAVING COUNT(ID) = 1 ORDER BY post_date DESC LIMIT 0, 10
Most Popular Posts
Recent Comments