1292 - Incorrect datetime value: '0000-00-00 00:00:00' for column 'products_date_available' at row 1

UPDATE products SET products_status = '1', products_last_modified = now() WHERE products_status = '3' AND (products_date_available IS NULL OR products_date_available = '0000-00-00 00:00:00' OR to_days(now()) >= to_days(products_date_available))

[TEP STOP]