Database Error; SQL: SELECT
DISTINCT
`t`.*, `d`.*
FROM `wp_posts` AS `t`
LEFT JOIN `wp_pods_city` AS `d` ON `d`.`id` = `t`.`ID`
WHERE ( ( county='O'Brien' AND topic='donate-car' AND state='IA' ) AND ( `t`.`post_type` = "city" ) 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 MariaDB server version for the right syntax to use near 'Brien' AND topic='donate-car' AND state='IA' ) AND ( `t`.`post_type` = "city" ) ' at line 7