Database Error; SQL: SELECT
DISTINCT
*, `t`.`term_id` AS `pod_item_id`
FROM `cmg_terms` AS `t`
LEFT JOIN `cmg_term_taxonomy` AS `tt` ON `tt`.`term_id` = `t`.`term_id`
LEFT JOIN `cmg_term_relationships` AS `tr` ON `tr`.`term_taxonomy_id` = `tt`.`term_taxonomy_id`
LEFT JOIN `cmg_icl_translations` AS `wpml_translations`
ON `wpml_translations`.`element_id` = `tt`.`term_taxonomy_id`
AND `wpml_translations`.`element_type` = 'tax_category'
AND `wpml_translations`.`language_code` = 'en'
LEFT JOIN `cmg_icl_languages` AS `wpml_languages`
ON `wpml_languages`.`code` = `wpml_translations`.`language_code` AND `wpml_languages`.`active` = 1
WHERE ( ( `t`.`term_id` = 1390 OR `t`.`term_id` = 1376 ) AND ( `tt`.`taxonomy` = 'category' ) AND ( `wpml_languages`.`code` IS NOT NULL ) AND ( `t`.`post_type` = 'category' ) AND ( `t`.`post_status` IN ( 'publish' ) ) )
ORDER BY `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`; Response: Unknown column 't.post_type' in 'where clause'