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 '' 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 `goc_product` as p ON(p.product_id=ps.id_product) WHERE ps.id_storage IS NOT NULL AND p.product_id= in /home/golfprofi/domains/golf-profi.ru/public_html/system/library/db/mysqli.php:40 Stack trace: #0 /home/golfprofi/domains/golf-profi.ru/public_html/system/library/db.php(16): DB\MySQLi->query('SELECT p.produc...', Array) #1 /home/golfprofi/domains/golf-profi.ru/public_html/catalog/model/stock/stock.php(27): DB->query('SELECT p.produc...') #2 /home/golfprofi/domains/golf-profi.ru/public_html/system/storage/modification/system/engine/loader.php(178): ModelStockStock->getStoragesByProduct('') #3 /home/golfprofi/domains/golf-profi.ru/public_html/ in /home/golfprofi/domains/golf-profi.ru/public_html/system/library/db/mysqli.php on line 40