• Disciplines
  • Artists
  • Tags
Database Error; SQL: SELECT DISTINCT `t`.* FROM `wp_posts` AS `t` LEFT JOIN `wp_podsrel` AS `rel_artwork_artist` ON `rel_artwork_artist`.`field_id` = 13 AND `rel_artwork_artist`.`item_id` = `t`.`ID` LEFT JOIN `wp_posts` AS `artwork_artist` ON `artwork_artist`.`ID` = `rel_artwork_artist`.`related_item_id` WHERE ( ( `artwork_artist`.`ID` = ) AND ( `t`.`post_type` = "artwork" ) AND ( `t`.`post_status` IN ( "publish" ) ) ) ORDER BY `t`.`menu_order`, `t`.`post_title`, `t`.`post_date` LIMIT 0, 15; 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` = "artwork" ) AND ( `t`.`post_status` IN ( "publish" ) )' at line 14