[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 (19334)
AND `catalog_price`.`CATALOG_GROUP_ID` IN (1)
/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/lib/db/connection.php:329
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/lib/entity/query.php:2830
#2: Bitrix\Main\Entity\Query->query(string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/lib/entity/query.php:771
#3: Bitrix\Main\Entity\Query->exec()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/lib/entity/datamanager.php:260
#4: Bitrix\Main\Entity\DataManager::getList(array)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/catalog/lib/discount/discountmanager.php:607
#5: Bitrix\Catalog\Discount\DiscountManager::preloadPriceData(array, array)
	/home/bitrix/ext_www/dreambag.ru/bitrix/components/bitrix/catalog.element/class.php:130
#6: CatalogElementComponent->initAdditionalCacheKeys(array)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/iblock/lib/component/element.php:689
#7: Bitrix\Iblock\Component\Element->getCacheKeys()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/iblock/lib/component/base.php:3520
#8: Bitrix\Iblock\Component\Base->initResultCache()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/iblock/lib/component/base.php:3964
#9: Bitrix\Iblock\Component\Base->loadData()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/iblock/lib/component/base.php:3944
#10: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/iblock/lib/component/element.php:229
#11: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#12: call_user_func(array)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/iblock/lib/component/base.php:4129
#13: Bitrix\Iblock\Component\Base->doAction()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/iblock/lib/component/base.php:4147
#14: Bitrix\Iblock\Component\Base->executeComponent()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component.php:588
#15: CBitrixComponent->includeComponent(string, array, object)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/main.php:1041
#16: CAllMain->IncludeComponent(string, string, array, object)
	/home/bitrix/ext_www/dreambag.ru/bitrix/templates/beanbag/components/bitrix/catalog/custom/element.php:122
#17: include(string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component_template.php:720
#18: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component_template.php:815
#19: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component.php:685
#20: CBitrixComponent->showComponentTemplate()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component.php:633
#21: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/components/bitrix/catalog/component.php:169
#22: include(string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component.php:551
#23: CBitrixComponent->__includeComponent()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component.php:603
#24: CBitrixComponent->includeComponent(string, array, NULL)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/main.php:1041
#25: CAllMain->IncludeComponent(string, string, array)
	/home/bitrix/ext_www/bean-bag.ru/catalog/index.php:211
#26: include_once(string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/include/urlrewrite.php:159
#27: include_once(string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/urlrewrite.php:2