Fatal error: Uncaught Exception: 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 'ORDER BY level' at line 1<br />Error No: 1064<br />SELECT path.*,category_desc.name FROM `oc_category_path` path LEFT JOIN `oc_category_description` category_desc ON category_desc.category_id=path.path_id WHERE path.`category_id` = ORDER BY level in /www/jackymall/system/library/db/mysqli.php:40
Stack trace:
#0 /www/jackymall/system/library/db.php(45): DB\MySQLi->query('SELECT path.*,c...')
#1 /www/jackymall/catalog/model/catalog/category.php(338): DB->query('SELECT path.*,c...')
#2 /www/jackymall/storage/modification/system/engine/loader.php(258): ModelCatalogCategory->getCategoryPath(NULL)
#3 /www/jackymall/system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#4 /www/jackymall/catalog/controller/product/product.php(90): Proxy->__call('getCategoryPath', Array)
#5 /www/jackymall/storage/modification/system/engine/action.php(79): ControllerPr in /www/jackymall/system/library/db/mysqli.php on line 40