Database Error; SQL: SELECT DISTINCT `t`.* FROM `wp_posts` AS `t` LEFT JOIN `wp_postmeta` AS `sort_order` ON `sort_order`.`meta_key` = 'sort_order' AND `sort_order`.`post_id` = `t`.`ID` WHERE ( ( `category`.`term_id` = 25 ) AND ( `t`.`post_type` = 'banner' ) AND ( `t`.`post_status` IN ( 'publish' ) ) ) ORDER BY `sort_order`.`meta_value` ASC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`; Response: Unknown column 'category.term_id' in 'where clause'