Наверх
Наверх
catalog
[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (1064) 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 (400)
SELECT t1.* FROM vm_catalog_sku t1 WHERE product_id = 
/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/local/classes/VM/Catalog/Main.php:704
#2: VM\Catalog\Main::getProductByCode(string)
	/home/bitrix/www/local/components/vm/catalog/class.php:1772
#3: VMCatalog->getElementByCode()
	/home/bitrix/www/local/components/vm/catalog/class.php:614
#4: VMCatalog->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:656
#5: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1041
#6: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/www/catalog/detail.php:6
#7: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#8: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2