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 ')' at line 7 (SQL: SELECT DISTINCT ParentAttrId,Attr_id from catalog_product_flat f INNER JOIN catalog_product_attributes2 c ON c.product_id = f.product_id INNER JOIN catalog_product_inventory i ON f.product_id = i.product_id where i.web_available = 1 and f.parent_id IN ())-760