Database Error; SQL: SELECT DISTINCT `t`.* FROM `iZkRk_pods_gems_offer_matrix` AS `t` WHERE ( offerid = ) ORDER BY `t`.`offerid` DESC, `t`.`offerid`, `t`.`id` LIMIT 0, 1; Response: 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 `t`.`offerid` DE...' at line 7