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 ('2487') and contents.published=1 and publish_date <= '2024-04-18 15:58' 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