Fatal error: Uncaught exception 'Exception' with message '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<br />Error No: 1064<br />SELECT p.product_id,p.sku,ps.stock,s.name_storage,s.id_storage FROM `1c_mart_product_stock` as ps INNER JOIN `1c_mart_storage` as s ON(ps.id_storage=s.id_storage) INNER JOIN `oc_product` as p ON(p.product_id=ps.id_product) WHERE ps.id_storage IS NOT NULL AND p.product_id=' in /var/www/eterna/data/www/eterna.in.ua/system/library/db/mysqli.php:40 Stack trace: #0 /var/www/eterna/data/www/eterna.in.ua/system/library/db.php(16): DB\MySQLi->query('SELECT p.produc...', Array) #1 /var/www/eterna/data/www/eterna.in.ua/catalog/model/stock/stock.php(27): DB->query('SELECT p.produc...') #2 [internal function]: ModelStockStock->getStoragesByProduct(NULL) #3 /var/www/eterna/data/www/eterna.in.ua/vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php(178): call_user_func_array(Array, Ar in /var/www/eterna/data/www/eterna.in.ua/system/library/db/mysqli.php on line 40