Error

Error message

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ') GROUP BY c.field_category_tid' at line 2: SELECT c.field_category_tid, count(n.nid) as count FROM node n INNER JOIN field_revision_field_category c ON c.entity_id=n.nid WHERE n.type = :productType AND n.language = :lang AND n.tnid IN () GROUP BY c.field_category_tid ; Array ( [:productType] => product [:lang] => en ) in shop_promo_filters_form() (line 357 of /var/www/html/kamin.bg/www/sites/all/modules/custom/shop/shop.forms.inc).
The website encountered an unexpected error. Please try again later.