WordPress database error: [Incorrect DATETIME value: '']SELECT priority.priority,(SELECT COUNT(id) FROM `wp9a_js_ticket_tickets` WHERE priorityid = priority.id AND status = 0 AND (lastreply = '0000-00-00 00:00:00' OR lastreply = '') AND date(created) >= '2024-11-11' AND date(created) <= '2024-12-11' ) AS totalticket
FROM `wp9a_js_ticket_priorities` AS priority ORDER BY priority.priority
WordPress database error: [Incorrect DATETIME value: '']SELECT priority.priority,(SELECT COUNT(id) FROM `wp9a_js_ticket_tickets` WHERE priorityid = priority.id AND isanswered != 1 AND status != 4 AND (lastreply != '0000-00-00 00:00:00' AND lastreply != '') AND date(created) >= '2024-11-11' AND date(created) <= '2024-12-11') AS totalticket
FROM `wp9a_js_ticket_priorities` AS priority ORDER BY priority.priority