Warning: Invalid argument supplied for foreach() in /home/domstyle/domains/domstyle.com.ua/public_html/catalog/controller/product/category.php on line 184Warning: Invalid argument supplied for foreach() in /home/domstyle/domains/domstyle.com.ua/public_html/catalog/model/catalog/product.php on line 544Notice: 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 ')) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() A' at line 1
Error No: 1064
SELECT SQL_CACHE COUNT(DISTINCT p.product_id) AS total FROM myoc_product p LEFT JOIN myoc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN myoc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN myoc_product_to_category p2c ON (p.product_id = p2c.product_id) INNER JOIN myoc_product_attribute pa1 ON ( pa1.product_id = p.product_id AND pa1.attribute_id IN('22') AND pa1.text IN ()) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p.price >= 1628 AND p.price <= 260899 AND (p2c.category_id IN(5012,5681,5682,22,23,24,5046,21,1044,30,33,36,19,20,5680,1039,1038,1046,1037,1040,1045,1049,1047,5683,5684,1048,5014,5013)) in /home/domstyle/domains/domstyle.com.ua/public_html/system/database/mysql.php on line 69