Database Error; SQL: SELECT
DISTINCT
`t`.*
FROM `wp_pods_event_series` AS `t`
LEFT JOIN `wp_podsrel` AS `rel_location` ON
`rel_location`.`field_id` = 708
AND `rel_location`.`item_id` = `t`.`id`
LEFT JOIN `wp_pods_locations` AS `location` ON
`location`.`id` = `rel_location`.`related_item_id`
WHERE ( `location`.`id` = )
ORDER BY `t`.`start_date` DESC, `t`.`name`, `t`.`id`; 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 ')
ORDER BY `t`.`start_date` DE' at line 14