Database Error; SQL: SELECT DISTINCT `t`.* FROM `tio2_posts` AS `t` LEFT JOIN `tio2_podsrel` AS `rel_company` ON `rel_company`.`field_id` = 153 AND `rel_company`.`item_id` = `t`.`ID` LEFT JOIN `tio2_posts` AS `company` ON `company`.`ID` = `rel_company`.`related_item_id` WHERE ( ( `company`.`id` IN () ) AND ( `t`.`post_type` = "cshowcase" ) AND ( `t`.`post_status` IN ( "publish" ) ) ) ORDER BY `t`.`menu_order`, `t`.`post_title`, `t`.`post_date` LIMIT 0, 30; 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 ') ) AND ( `t`.`post_type` = "cshowcase" ) AND ( `t`.`post_status` IN ( "publish"' at line 14