Notice: Error: 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 ')) ORDER BY text' at line 1
Error No: 1064
SELECT DISTINCT text as value, attribute_id as id, text as name FROM `product_attribute` WHERE attribute_id IN (1,2,9,7,5,3,6,4,8) AND language_id = '1' AND product_id IN (SELECT product_id FROM `product_to_category` WHERE category_id IN ()) ORDER BY text in /var/www/bopeland/data/www/bopeland.kz/system/database/mysql.php on line 49