/ Каталог
[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`catalog_price`.`ID` AS `ID`,
	`catalog_price`.`PRODUCT_ID` AS `PRODUCT_ID`,
	`catalog_price`.`EXTRA_ID` AS `EXTRA_ID`,
	`catalog_price`.`CATALOG_GROUP_ID` AS `CATALOG_GROUP_ID`,
	`catalog_price`.`PRICE` AS `PRICE`,
	`catalog_price`.`CURRENCY` AS `CURRENCY`,
	`catalog_price`.`TIMESTAMP_X` AS `TIMESTAMP_X`,
	`catalog_price`.`QUANTITY_FROM` AS `QUANTITY_FROM`,
	`catalog_price`.`QUANTITY_TO` AS `QUANTITY_TO`,
	`catalog_price`.`TMP_ID` AS `TMP_ID`,
	`catalog_price`.`PRICE_SCALE` AS `PRICE_SCALE`
FROM `b_catalog_price` `catalog_price` 

WHERE `catalog_price`.`PRODUCT_ID` IN (22605)
AND `catalog_price`.`CATALOG_GROUP_ID` IN (1)
/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:329
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/entity/query.php:1924
#2: Bitrix\Main\Entity\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/entity/query.php:505
#3: Bitrix\Main\Entity\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/entity/datamanager.php:256
#4: Bitrix\Main\Entity\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/catalog/lib/discount/discountmanager.php:514
#5: Bitrix\Catalog\Discount\DiscountManager::preloadPriceData(array, array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:449
#6: Bitrix\Iblock\Component\Base->initCatalogDiscountCache()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3596
#7: Bitrix\Iblock\Component\Base->prepareData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3550
#8: Bitrix\Iblock\Component\Base->processResultData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:244
#9: Bitrix\Iblock\Component\Element->processResultData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3955
#10: Bitrix\Iblock\Component\Base->loadData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3944
#11: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:229
#12: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#13: call_user_func(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4129
#14: Bitrix\Iblock\Component\Base->doAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4147
#15: Bitrix\Iblock\Component\Base->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:585
#16: CBitrixComponent->includeComponent(string, array, object)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1035
#17: CAllMain->IncludeComponent(string, string, array, object)
	/home/bitrix/www/local/templates/.default/components/bitrix/catalog/catalog/element.php:150
#18: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:714
#19: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:806
#20: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:681
#21: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:629
#22: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/www/bitrix/components/bitrix/catalog/component.php:168
#23: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:548
#24: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:600
#25: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1035
#26: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/www/product/index.php:341
#27: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#28: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2