1525

Erro: 1525

Incorrect DATETIME value: '%0000-00-00 00:00:00%' SQL=SELECT e.id, e.title, e.alias, e.state, e.approval, e.created_by_email, e.username, e.access, e.language, e.params, e.catid, e.image, e.file, e.displaytime, e.dates, e.period, e.startdate, e.enddate, e.weekdays, e.time, e.next, e.desc, e.metadesc, e.address, e.city, e.country, e.phone, e.email, e.name, e.website, e.place as place_name, e.coordinate as coordinate, e.lat as lat, e.lng as lng, c.id as cat_id, c.title as cat_title, c.color as cat_color, c.desc as cat_desc, c.alias as cat_alias FROM `hidro_icagenda_events` AS e LEFT JOIN `hidro_icagenda_category` AS c ON c.id = e.catid WHERE e.state =1 AND e.approval <> 1 AND e.next <> '%0000-00-00 00:00:00%' AND e.access IN (1, 1) AND (e.`language` = 'pt-PT' OR e.`language` = '*') AND `e`.`next` >= '2020-11-29' ORDER BY e.next ASC LIMIT 0, 5