SELECT SUM(messages_sent) AS count, COUNT(email) AS email_count FROM notifications_sales_sent WHERE created > '2024-04-15T00:00:00+00:00' AND companyID = You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 3