WordPress database error: [Incorrect DATE value: ''] SELECT COUNT(properties.id) AS results_count FROM properties WHERE property_type!='' and property_type is not null AND status='6' AND if (leased_at!='0000-00-00' and leased_at is not null and leased_at!='',CURDATE()=leased_at,DATEDIFF(CURDATE(),`properties`.`updated_at`)< 1) AND properties.office_id in (22403)
WordPress database error: [Incorrect DATE value: ''] SELECT property_type AS tag, COUNT(*) AS number_of_properties FROM properties WHERE property_type!='' and property_type is not null AND status='6' AND if (leased_at!='0000-00-00' and leased_at is not null and leased_at!='',CURDATE()=leased_at,DATEDIFF(CURDATE(),`properties`.`updated_at`)< 1) AND properties.office_id in (22403) GROUP BY `property_type` ORDER BY property_type ASC LIMIT 0, 1000
WordPress database error: [Incorrect DATE value: ''] SELECT COUNT(properties.id) AS results_count FROM properties WHERE suburb!='' and suburb is not null AND status='6' AND if (leased_at!='0000-00-00' and leased_at is not null and leased_at!='',CURDATE()=leased_at,DATEDIFF(CURDATE(),`properties`.`updated_at`)< 1) AND properties.office_id in (22403)
WordPress database error: [Incorrect DATE value: ''] SELECT suburb AS tag, COUNT(*) AS number_of_properties FROM properties WHERE suburb!='' and suburb is not null AND status='6' AND if (leased_at!='0000-00-00' and leased_at is not null and leased_at!='',CURDATE()=leased_at,DATEDIFF(CURDATE(),`properties`.`updated_at`)< 1) AND properties.office_id in (22403) GROUP BY `suburb` ORDER BY properties.suburb ASC LIMIT 0, 1000