Notice: Undefined index: rating in /var/www/rostovsports/data/www/rostovsports.ru/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 26Notice: 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 'AND r1.status = '1' GROUP BY r1.product_id' at line 1
Error No: 1064
SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = AND r1.status = '1' GROUP BY r1.product_id in /var/www/rostovsports/data/www/rostovsports.ru/system/database/mysql.php on line 68