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 r2 ON r2.field_id = 409 AND r2.pod_id = p.id
LEFT JOIN
`wp_pod_tbl_location_type` `location_type` ON `location_type`.id = r2.tbl_row_id
INNER JOIN
`wp_pod_tbl_location` t ON t.id = p.tbl_row_id
WHERE
p.datatype = 29
AND ( (location_type.id = 3 OR location_type.id = 2 OR location_type.id = 1) AND () )
ORDER BY star DESC, t.featured DESC, t.name ASC
LIMIT 0,10; 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 star DESC, t.featured DESC, t.name ASC
' at line 16