Database Error; SQL: SELECT DISTINCT `t`.* FROM `wp_pods_products` AS `t` LEFT JOIN `wp_podsrel` AS `rel_category` ON `rel_category`.`field_id` = 602 AND `rel_category`.`item_id` = `t`.`id` LEFT JOIN `wp_pods_product_categories` AS `category` ON `category`.`id` = `rel_category`.`related_item_id` WHERE ( t.id in () AND t.inactive <> 1 ) ORDER BY `category`.`order` ASC, t.order ASC, `t`.`name`, `t`.`id`; 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.inactive <> 1 ) ORDER ' at line 14