array(3) { [0]=> string(5) "42000" [1]=> int(1064) [2]=> string(181) "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 'ORDER BY dataCriacao DESC LIMIT 1' at line 1" } SQL: [221] SELECT * FROM ecommerceCupons WHERE status = 1 AND dataInicio <= '2025-02-11 07:03:34' AND dataFim >= '2025-02-11 07:03:34' AND FIND_IN_SET('3079',produto) OR FIND_IN_SET('', grupo) OR ORDER BY dataCriacao DESC LIMIT 1 Params: 0 deu erro