Database Error; SQL: SELECT
DISTINCT
`t`.*
FROM `wp_posts` AS `t`
WHERE ( ( `staff_group`.`term_id` = 4 ) AND ( `t`.`post_type` = 'staff_info' ) AND ( `t`.`post_status` IN ( 'publish' ) ) )
ORDER BY `t`.`menu_order` ASC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`; Response: Unknown column 'staff_group.term_id' in 'where clause'