[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`iblock_property`.`ID` AS `ID`,
	`iblock_property`.`IBLOCK_ID` AS `IBLOCK_ID`,
	`iblock_property`.`CODE` AS `CODE`,
	`iblock_property`.`NAME` AS `NAME`,
	`iblock_property`.`SORT` AS `SORT`,
	`iblock_property`.`LINK_IBLOCK_ID` AS `LINK_IBLOCK_ID`,
	`iblock_property`.`PROPERTY_TYPE` AS `PROPERTY_TYPE`,
	`iblock_property`.`USER_TYPE` AS `USER_TYPE`,
	`iblock_property`.`USER_TYPE_SETTINGS` AS `USER_TYPE_SETTINGS`
FROM `b_iblock_property` `iblock_property` 

WHERE `iblock_property`.`IBLOCK_ID` = 5
AND `iblock_property`.`PROPERTY_TYPE` in ('L', 'E', 'S')
AND `iblock_property`.`ACTIVE` = 'Y'
AND `iblock_property`.`MULTIPLE` = 'N'
ORDER BY `SORT` ASC, `ID` ASC
/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/iblock/classes/general/comp_pricetools.php:1836
#5: CIBlockPriceTools::getTreeProperties(array, array, array)
	/home/bitrix/ext_www/dreambag.ru/bitrix/templates/beanbag/components/bitrix/catalog/custom/bitrix/catalog.element/.default/result_modifier.php:201
#6: include(string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component_template.php:877
#7: CBitrixComponentTemplate->__IncludeMutatorFile(array, array)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component_template.php:784
#8: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component.php:685
#9: CBitrixComponent->showComponentTemplate()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component.php:633
#10: CBitrixComponent->includeComponentTemplate()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/iblock/lib/component/base.php:3965
#11: Bitrix\Iblock\Component\Base->loadData()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/iblock/lib/component/base.php:3944
#12: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/iblock/lib/component/element.php:229
#13: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#14: call_user_func(array)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/iblock/lib/component/base.php:4129
#15: Bitrix\Iblock\Component\Base->doAction()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/iblock/lib/component/base.php:4147
#16: Bitrix\Iblock\Component\Base->executeComponent()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component.php:588
#17: CBitrixComponent->includeComponent(string, array, object)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/main.php:1041
#18: CAllMain->IncludeComponent(string, string, array, object)
	/home/bitrix/ext_www/dreambag.ru/bitrix/templates/beanbag/components/bitrix/catalog/custom/element.php:122
#19: include(string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component_template.php:720
#20: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component_template.php:815
#21: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component.php:685
#22: CBitrixComponent->showComponentTemplate()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component.php:633
#23: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/components/bitrix/catalog/component.php:169
#24: include(string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component.php:551
#25: CBitrixComponent->__includeComponent()
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/component.php:603
#26: CBitrixComponent->includeComponent(string, array, NULL)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/classes/general/main.php:1041
#27: CAllMain->IncludeComponent(string, string, array)
	/home/bitrix/ext_www/bean-bag.ru/catalog/index.php:211
#28: include_once(string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/modules/main/include/urlrewrite.php:159
#29: include_once(string)
	/home/bitrix/ext_www/dreambag.ru/bitrix/urlrewrite.php:2