Database Error; SQL: SELECT
DISTINCT
`t`.*
FROM `wp_posts` AS `t`
LEFT JOIN `wp_postmeta` AS `event_date` ON
`event_date`.`meta_key` = 'event_date'
AND `event_date`.`post_id` = `t`.`ID`
WHERE ( ( t.ID AND `event_date`.`meta_value` > "2024-12-21 11:13:37" ) AND ( `t`.`post_type` = 'webinaire' ) AND ( `t`.`post_status` IN ( 'publish' ) ) )
ORDER BY `event_date`.`meta_value` ASC, t.post_date ASC, t.ID ASC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`
LIMIT 0, 3; Response: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND `event_date`.`meta_value` > "2024-12-21 11:13:37" ) AND ( `t`.`post_type`...' at line 11