Database Error; SQL: SELECT DISTINCT `t`.* FROM `wp_posts` AS `t` LEFT JOIN `wp_term_relationships` AS `rel_mediaroomcategory` ON `rel_mediaroomcategory`.`object_id` = `t`.`ID` LEFT JOIN `wp_term_taxonomy` AS `rel_tt_mediaroomcategory` ON `rel_tt_mediaroomcategory`.`taxonomy` = 'mediaroomcategory' AND `rel_tt_mediaroomcategory`.`term_taxonomy_id` = `rel_mediaroomcategory`.`term_taxonomy_id` LEFT JOIN `wp_terms` AS `mediaroomcategory` ON `mediaroomcategory`.`term_id` = `rel_tt_mediaroomcategory`.`term_id` WHERE ( ( "`mediaroomcategory`.`slug`='news'" ) AND ( `t`.`post_type` = 'mediaroom' ) AND ( `t`.`post_status` IN ( 'publish' ) ) ) ORDER BY "date ASC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`; Response: 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 '"`mediaroomcategory`.`slug`='news'" ) AND ( `t`.`post_type` = ' at line 17