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 'd.data(' group by of.offer_id LIMIT 0, 1' at line 3 SQL=select * from #__hotelreservation_offers of inner join #__hotelreservation_offers_vouchers hov on of.offer_id = hov.offerId where REPLACE(hov.voucher,'-',' ') = '' d.data(' group by of.offer_id LIMIT 0, 1

Go Back Home