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 ') GROUP BY product_id' at line 2<br />Error No: 1064<br />SELECT product_id FROM product_to_category WHERE category_id
IN () GROUP BY product_id' in /home/gnehmpid/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/gnehmpid/public_html/system/library/db.php(16): DB\MySQLi->query('SELECT product_...', Array)
#1 /home/gnehmpid/public_html/catalog/model/catalog/product.php(574): DB->query('SELECT product_...')
#2 [internal function]: ModelCatalogProduct->getTotalProducts(Array)
#3 /home/gnehmpid/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/gnehmpid/public_html/system/engine/proxy.php(25): call_user_func_array(Object(Closure), Array)
#6 /home/gnehmpid/public_html/catalog/control in /home/gnehmpid/public_html/system/library/db/mysqli.php on line 40