Database Error; SQL: SELECT DISTINCT `t`.* FROM `wp_18_posts` AS `t` LEFT JOIN `wp_18_podsrel` AS `rel_model` ON `rel_model`.`field_id` = 83 AND `rel_model`.`item_id` = `t`.`ID` LEFT JOIN `wp_18_posts` AS `model` ON `model`.`ID` = `rel_model`.`related_item_id` LEFT JOIN `wp_18_postmeta` AS `model_meta_value` ON `model_meta_value`.`meta_key` = 'meta_value' AND `model_meta_value`.`post_id` = `model`.`ID` WHERE ( ( `model`.`meta_value` like'' ) AND ( `t`.`post_type` = "novos" ) AND ( `t`.`post_status` IN ( "publish" ) ) ) ORDER BY `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`; Response: Unknown column 'model.meta_value' in 'where clause'