Database Error; SQL: SELECT DISTINCT `t`.*, `d`.* FROM `wp_posts` AS `t` LEFT JOIN `wp_podsrel` AS `rel_illustrators` ON `rel_illustrators`.`field_id` = 543 AND `rel_illustrators`.`item_id` = `t`.`ID` LEFT JOIN `wp_users` AS `illustrators` ON `illustrators`.`ID` = `rel_illustrators`.`related_item_id` LEFT JOIN `wp_pods_illustrations` AS `d` ON `d`.`id` = `t`.`ID` WHERE ( ( (legacy_id -1 OR legacy_id IS NULL) AND `illustrators`.`ID` = ) AND ( `t`.`post_type` = "illustrations" ) AND ( `t`.`post_status` IN ( "publish" ) ) ) ORDER BY `d`.`sort_order` ASC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date` LIMIT 0, 16; Response: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND ( `t`.`post_type` = "illustrations" ) AND ( `t`.`post_status` IN ( "publis' at line 15