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 '' at line 1<br />Error No: 1064<br />SELECT stock_status_id, quantity FROM oc_product p WHERE p.product_id = ' in /var/www/spsnabru/data/www/sp-snab.ru/system/library/db/mysqli.php:40
Stack trace:
#0 /var/www/spsnabru/data/www/sp-snab.ru/system/library/db.php(16): DB\MySQLi->query('SELECT stock_st...', Array)
#1 /var/www/spsnabru/data/www/sp-snab.ru/catalog/model/extension/module/avail.php(180): DB->query('SELECT stock_st...')
#2 [internal function]: ModelExtensionModuleAvail->ProductStockStatusId(NULL)
#3 /var/www/spsnabru/data/www/sp-snab.ru/vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php(181): call_user_func_array(Array, Array)
#4 [internal function]: Loader->{closure}(Array, Array)
#5 /var/www/spsnabru/data/www/sp-snab.ru/system/engine/proxy.php(25): call_user_func_array(Object(Closure), Array)
#6 / in /var/www/spsnabru/data/www/sp-snab.ru/system/library/db/mysqli.php on line 40