Database Error; SQL: SELECT
DISTINCT
`t`.*, `d`.*
FROM `gem5cql5z_posts` AS `t`
LEFT JOIN `gem5cql5z_podsrel` AS `rel_landing_page_city` ON
`rel_landing_page_city`.`field_id` = 1910
AND `rel_landing_page_city`.`item_id` = `t`.`ID`
LEFT JOIN `gem5cql5z_posts` AS `landing_page_city` ON
`landing_page_city`.`ID` = `rel_landing_page_city`.`related_item_id`
LEFT JOIN `gem5cql5z_pods_landing_page` AS `d` ON `d`.`id` = `t`.`ID`
WHERE ( ( `landing_page_city`.`ID` = ) AND ( `t`.`post_type` = 'landing_page' ) 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 MariaDB server version for the right syntax to use near ') AND ( `t`.`post_type` = 'landing_page' ) AND ( `t`.`post_status` IN ( 'publ...' at line 15