Events (2013)

WordPress database error: [Incorrect DATE value: '20131131']
SELECT dgw_posts.* FROM dgw_posts INNER JOIN dgw_postmeta ON ( dgw_posts.ID = dgw_postmeta.post_id ) INNER JOIN dgw_postmeta AS mt1 ON ( dgw_posts.ID = mt1.post_id ) INNER JOIN dgw_postmeta AS mt2 ON ( dgw_posts.ID = mt2.post_id ) WHERE 1=1 AND ( dgw_postmeta.meta_key = 'events_begin_date' AND ( ( mt1.meta_key = 'events_begin_date' AND CAST(mt1.meta_value AS DATE) >= '20131101' ) AND ( mt2.meta_key = 'events_begin_date' AND CAST(mt2.meta_value AS DATE) <= '20131131' ) ) ) AND ((dgw_posts.post_type = 'events' AND (dgw_posts.post_status = 'publish' OR dgw_posts.post_status = 'acf-disabled'))) GROUP BY dgw_posts.ID ORDER BY dgw_postmeta.meta_value+0 DESC

WordPress database error: [Incorrect DATE value: '20130931']
SELECT dgw_posts.* FROM dgw_posts INNER JOIN dgw_postmeta ON ( dgw_posts.ID = dgw_postmeta.post_id ) INNER JOIN dgw_postmeta AS mt1 ON ( dgw_posts.ID = mt1.post_id ) INNER JOIN dgw_postmeta AS mt2 ON ( dgw_posts.ID = mt2.post_id ) WHERE 1=1 AND ( dgw_postmeta.meta_key = 'events_begin_date' AND ( ( mt1.meta_key = 'events_begin_date' AND CAST(mt1.meta_value AS DATE) >= '20130901' ) AND ( mt2.meta_key = 'events_begin_date' AND CAST(mt2.meta_value AS DATE) <= '20130931' ) ) ) AND ((dgw_posts.post_type = 'events' AND (dgw_posts.post_status = 'publish' OR dgw_posts.post_status = 'acf-disabled'))) GROUP BY dgw_posts.ID ORDER BY dgw_postmeta.meta_value+0 DESC

WordPress database error: [Incorrect DATE value: '20130631']
SELECT dgw_posts.* FROM dgw_posts INNER JOIN dgw_postmeta ON ( dgw_posts.ID = dgw_postmeta.post_id ) INNER JOIN dgw_postmeta AS mt1 ON ( dgw_posts.ID = mt1.post_id ) INNER JOIN dgw_postmeta AS mt2 ON ( dgw_posts.ID = mt2.post_id ) WHERE 1=1 AND ( dgw_postmeta.meta_key = 'events_begin_date' AND ( ( mt1.meta_key = 'events_begin_date' AND CAST(mt1.meta_value AS DATE) >= '20130601' ) AND ( mt2.meta_key = 'events_begin_date' AND CAST(mt2.meta_value AS DATE) <= '20130631' ) ) ) AND ((dgw_posts.post_type = 'events' AND (dgw_posts.post_status = 'publish' OR dgw_posts.post_status = 'acf-disabled'))) GROUP BY dgw_posts.ID ORDER BY dgw_postmeta.meta_value+0 DESC

WordPress database error: [Incorrect DATE value: '20130431']
SELECT dgw_posts.* FROM dgw_posts INNER JOIN dgw_postmeta ON ( dgw_posts.ID = dgw_postmeta.post_id ) INNER JOIN dgw_postmeta AS mt1 ON ( dgw_posts.ID = mt1.post_id ) INNER JOIN dgw_postmeta AS mt2 ON ( dgw_posts.ID = mt2.post_id ) WHERE 1=1 AND ( dgw_postmeta.meta_key = 'events_begin_date' AND ( ( mt1.meta_key = 'events_begin_date' AND CAST(mt1.meta_value AS DATE) >= '20130401' ) AND ( mt2.meta_key = 'events_begin_date' AND CAST(mt2.meta_value AS DATE) <= '20130431' ) ) ) AND ((dgw_posts.post_type = 'events' AND (dgw_posts.post_status = 'publish' OR dgw_posts.post_status = 'acf-disabled'))) GROUP BY dgw_posts.ID ORDER BY dgw_postmeta.meta_value+0 DESC

WordPress database error: [Incorrect DATE value: '20130231']
SELECT dgw_posts.* FROM dgw_posts INNER JOIN dgw_postmeta ON ( dgw_posts.ID = dgw_postmeta.post_id ) INNER JOIN dgw_postmeta AS mt1 ON ( dgw_posts.ID = mt1.post_id ) INNER JOIN dgw_postmeta AS mt2 ON ( dgw_posts.ID = mt2.post_id ) WHERE 1=1 AND ( dgw_postmeta.meta_key = 'events_begin_date' AND ( ( mt1.meta_key = 'events_begin_date' AND CAST(mt1.meta_value AS DATE) >= '20130201' ) AND ( mt2.meta_key = 'events_begin_date' AND CAST(mt2.meta_value AS DATE) <= '20130231' ) ) ) AND ((dgw_posts.post_type = 'events' AND (dgw_posts.post_status = 'publish' OR dgw_posts.post_status = 'acf-disabled'))) GROUP BY dgw_posts.ID ORDER BY dgw_postmeta.meta_value+0 DESC