Decillion CMS Exception:

MySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '&c=1&q=Trogir) AND a.webshopActive = '0' AND (c.title LIKE '%%' OR b.city_text ' at line 1

The full query: SELECT COUNT(a.id) n FROM fb_companies_offers a INNER JOIN fb_companies b ON a.company_id = b.id INNER JOIN fb_webshop_categories cw ON a.category_id = cw.id INNER JOIN fb_webshop_categories_translations cwT ON a.category_id = cwT.id AND cwT.lang = 'hr' INNER JOIN fb_companies_translations bT ON a.company_id = bT.id INNER JOIN fb_companies_offers_translations c ON a.id = c.id AND c.lang = 'hr' WHERE bT.lang = 'hr' AND a.category_id IN(&c=1&q=Trogir) AND a.webshopActive = '0' AND (c.title LIKE '%%' OR b.city_text LIKE '%%')AND a.active = '1' AND a.publish_on <= '2020-07-09 13:03:40' AND b.published = '1' AND b.active = '1' AND b.adultOnly = '0'