[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`sale_internals_discount_group`.`DISCOUNT_ID` AS `DISCOUNT_ID`
FROM `b_sale_discount_group` `sale_internals_discount_group` 

WHERE `sale_internals_discount_group`.`GROUP_ID` IN (2)
AND `sale_internals_discount_group`.`ACTIVE` = 'Y'
ORDER BY `sale_internals_discount_group`.`DISCOUNT_ID` ASC
/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/sale/lib/discount/runtimecache/discountcache.php:52
#5: Bitrix\Sale\Discount\RuntimeCache\DiscountCache->getDiscountIds(array)
	/home/bitrix/www/bitrix/modules/catalog/lib/discount/discountmanager.php:569
#6: Bitrix\Catalog\Discount\DiscountManager::preloadProductDataToExtendOrder(array, array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:450
#7: Bitrix\Iblock\Component\Base->initCatalogDiscountCache()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3587
#8: Bitrix\Iblock\Component\Base->prepareData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3541
#9: Bitrix\Iblock\Component\Base->processResultData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:244
#10: Bitrix\Iblock\Component\Element->processResultData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3946
#11: Bitrix\Iblock\Component\Base->loadData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3935
#12: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:229
#13: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#14: call_user_func(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4120
#15: Bitrix\Iblock\Component\Base->doAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4138
#16: Bitrix\Iblock\Component\Base->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:585
#17: CBitrixComponent->includeComponent(string, array, object)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1035
#18: CAllMain->IncludeComponent(string, string, array, object)
	/home/bitrix/www/bitrix/templates/design-station/components/bitrix/catalog/intels/element.php:55
#19: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:714
#20: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:806
#21: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:681
#22: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:629
#23: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/www/bitrix/components/bitrix/catalog/component.php:168
#24: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:548
#25: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:600
#26: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1035
#27: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/www/catalog/redirects.php:336
#28: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#29: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2