WordPress-Datenbank-Fehler: [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 '))) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = '_EventEndD' at line 8]
SELECT wp_posts.ID, MIN( orderby_event_date_meta.meta_value ) AS event_date FROM wp_posts LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_EventHideFromUpcoming' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS orderby_event_date_meta ON ( orderby_event_date_meta.post_id = wp_posts.ID AND orderby_event_date_meta.meta_key = '_EventStartDate' ) WHERE 1=1 AND ((())) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) > '2020-03-31 21:28:16' ) ) AND wp_posts.post_type = 'tribe_events' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY event_date ASC, wp_posts.post_date ASC LIMIT 0, 13

WordPress-Datenbank-Fehler: [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 '))) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = '_EventEndD' at line 1]
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_EventHideFromUpcoming' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) WHERE 1=1 AND ((())) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) < '2020-03-31 21:28:16' ) ) AND wp_posts.post_type = 'tribe_events' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date ASC LIMIT 0, 13

WordPress-Datenbank-Fehler: [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 '))) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = '_EventEndD' at line 1]
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_EventHideFromUpcoming' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) WHERE 1=1 AND ((())) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) < '2020-03-31 21:28:16' ) ) AND wp_posts.post_type = 'tribe_events' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date ASC LIMIT 0, 13