Buzz
buzz
SQL failed; SQL: SELECT SQL_CALC_FOUND_ROWS DISTINCT t.*, p.id AS pod_id, p.created, p.modified FROM wp_pod p LEFT JOIN wp_pod_rel r3 ON r3.field_id = 371 AND r3.pod_id = p.id LEFT JOIN `wp_pod_tbl_tiers` `tier` ON `tier`.id = r3.tbl_row_id LEFT JOIN wp_pod_rel r8 ON r8.field_id = 381 AND r8.pod_id = p.id LEFT JOIN `wp_pod_tbl_news` `news` ON `news`.id = r8.tbl_row_id INNER JOIN `wp_pod_tbl_photographers` t ON t.id = p.tbl_row_id WHERE p.datatype = 43 AND ( news.id= && t.published=1 ) ORDER BY tier.displayorder ASC, name_last ASC; 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 '&& t.published=1 ) ORDER BY tier.displayorder ASC, na' at line 21