Database Error; SQL: SELECT DISTINCT t.* FROM `wp_posts` AS `t` LEFT JOIN `wp_podsrel` AS `rel_artisan` ON `rel_artisan`.`field_id` = 453 AND `rel_artisan`.`item_id` = `t`.`ID` LEFT JOIN `wp_users` AS `artisan` ON `artisan`.`ID` = `rel_artisan`.`related_item_id` WHERE ( ( `artisan`.`id` in () ) AND ( `t`.`post_type` = "product" ) AND ( `t`.`post_status` IN ( "publish" ) ) ) ORDER BY `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`; 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` = "product" ) AND ( `t`.`post_status` IN ( "publish" )' at line 14