Database Error; SQL: SELECT
DISTINCT
`t`.*
FROM `wp_posts` AS `t`
LEFT JOIN `wp_term_relationships` AS `rel_mediaroom_category` ON
`rel_mediaroom_category`.`object_id` = `t`.`ID`
LEFT JOIN `wp_term_taxonomy` AS `rel_tt_mediaroom_category` ON
`rel_tt_mediaroom_category`.`taxonomy` = 'mediaroom_category'
AND `rel_tt_mediaroom_category`.`term_taxonomy_id` = `rel_mediaroom_category`.`term_taxonomy_id`
LEFT JOIN `wp_terms` AS `mediaroom_category` ON
`mediaroom_category`.`term_id` = `rel_tt_mediaroom_category`.`term_id`
LEFT JOIN `wp_icl_translations` AS `wpml_translations`
ON `wpml_translations`.`element_id` = `t`.`ID`
AND `wpml_translations`.`element_type` = 'post_mediaroom'
AND `wpml_translations`.`language_code` = 'de'
LEFT JOIN `wp_icl_languages` AS `wpml_languages`
ON `wpml_languages`.`code` = `wpml_translations`.`language_code` AND `wpml_languages`.`active` = 1
WHERE ( ( "`mediaroom_category`.`slug`='news'" ) AND ( `t`.`post_type` = 'mediaroom' ) AND ( `wpml_languages`.`code` IS NOT NULL ) 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 '"`mediaroom_category`.`slug`='news'" ) AND ( `t`.`post_type` =' at line 27