Invalid query: Access denied for user 'wc9k3ihcgf3r'@'localhost' (using password: NO) Whole query: SELECT count(*) AS 'count' FROM `wp_posts` WHERE `post_type` = 'dc_surveyme';