Notice: Undefined index: category_id in /home/yensao/public_html/catalog/model/catalog/category.php on line 91Notice: Undefined index: parent_id in /home/yensao/public_html/catalog/model/catalog/category.php on line 92Notice: Undefined index: category_id in /home/yensao/public_html/catalog/model/catalog/category.php on line 93
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 '20,18,63,64,65) AND product_id != '68' GROUP BY product_id ORDER BY RAND() LIMIT' at line 1<br />Error No: 1064<br />SELECT * FROM oc_product_to_category WHERE category_id IN (,20,18,63,64,65) AND product_id != '68' GROUP BY product_id ORDER BY RAND() LIMIT 8' in /home/yensao/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/yensao/public_html/system/library/db.php(16): DB\MySQLi->query('SELECT * FROM o...', Array)
#1 /home/yensao/public_html/catalog/model/catalog/product.php(638): DB->query('SELECT * FROM o...')
#2 [internal function]: ModelCatalogProduct->getProductsByCategory('68', Array)
#3 /home/yensao/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/yensao/public_html/system/engine/pr in /home/yensao/public_html/system/library/db/mysqli.php on line 40