Error!

MySQL Error: Incorrect DATE value: '&email=/1/1'
SQL Statement: select count(*) as total_records from (SELECT 1 FROM contents JOIN content_types on contents.content_type_id = content_types.id WHERE content_type_id IN ('2492') and contents.published=1 and publish_date <= '2024-06-19 02:31' and date(publish_date) >= '&email=/1/1' and date(publish_date) < '1/1/1' and contents.magazine_id=1 ORDER BY publish_date desc ) as t