Fatal error: Uncaught Exception: 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 '' at line 1
Error No: 1064
SELECT wholesale FROM oc_product WHERE product_id = in /home/soft/tep.ua/system/library/db/mysqli.php:40
Stack trace:
#0 /home/soft/tep.ua/system/library/db.php(45): DB\MySQLi->query('SELECT wholesal...')
#1 /home/soft/storages/tep.ua/storage/modification/catalog/model/catalog/product.php(9): DB->query('SELECT wholesal...')
#2 /home/soft/storages/tep.ua/storage/modification/system/engine/loader.php(299): ModelCatalogProduct->getWholesale(NULL)
#3 /home/soft/tep.ua/system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#4 /home/soft/storages/tep.ua/storage/modification/catalog/controller/product/category.php(303): Proxy->__call('getWholesale', Array)
#5 /home/soft/storages/tep.ua/storage/modification/system/engine/action.php(79): ControllerProductCategory->index()
#6 /home/soft/tep.ua/catalog/controller/st in /home/soft/tep.ua/system/library/db/mysqli.php on line 40