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=Rijeka) AND c.adultOnly = '0'' at line 1

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