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 '&q=Cista provo) AND c.adultOnly = '0'' at line 1

The full query: SELECT COUNT(DISTINCT(a.id)) n FROM fb_companies_vimeos a INNER JOIN fb_companies_vimeos_translations vT ON a.id = vT.id AND vT.lang = 'hr' INNER JOIN fb_companies c ON a.company_id = c.id INNER JOIN fb_companies_translations cT ON c.id = cT.id AND vT.lang = 'hr' WHERE c.published = '1' AND c.active = '1' AND a.active = '1' AND c.type_id IN(&q=Cista provo) AND c.adultOnly = '0'