Fatal error: Uncaught exception 'Exception' with message '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 ') AND language_id = '2' AND status = '1' GROUP BY rating' at line 1<br />Error No: 1064<br />SELECT rating, COUNT(*) as reviews FROM oc_review WHERE product_id IN () AND language_id = '2' AND status = '1' GROUP BY rating' in /home/glemis/public_html/system/library/db/mysqli.php:50
Stack trace:
#0 /home/glemis/public_html/system/library/db.php(28): DB\MySQLi->query('SELECT rating, ...', Array)
#1 /home/glemis/public_html/catalog/model/catalog/product.php(185): DB->query('SELECT rating, ...')
#2 [internal function]: ModelCatalogProduct->getProductProfile(3324)
#3 /home/glemis/public_html/system/storage/modification/system/engine/loader.php(178): call_user_func_array(Array, Array)
#4 [internal function]: Loader->{closure}(Array, Array)
#5 /home/glemis/public_html/system/engine/proxy.php(25): call_user_func_array(Object(Closure), in /home/glemis/public_html/system/library/db/mysqli.php on line 50