CLASS products FATAL ERROR: Error in query 
      SELECT COUNT(*) AS ile FROM `produkty`
      WHERE
        `active` = 1 AND
        `kolekcja` = 
     (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 '' at line 4)