[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`sale_internals_discount_entities`.`DISCOUNT_ID` AS `DISCOUNT_ID`,
	`sale_internals_discount_entities`.`MODULE_ID` AS `MODULE_ID`,
	`sale_internals_discount_entities`.`ENTITY` AS `ENTITY`,
	`sale_internals_discount_entities`.`FIELD_ENTITY` AS `FIELD_ENTITY`,
	`sale_internals_discount_entities`.`FIELD_TABLE` AS `FIELD_TABLE`
FROM `b_sale_discount_entities` `sale_internals_discount_entities` 

WHERE `sale_internals_discount_entities`.`DISCOUNT_ID` IN (1,4,6,7,8,9,10,11,12,13,14,15,16,26,34,35,38,39,40,41,47,48,49,50,51,53,54,63,69,72,74,75,77,78,79,88,94,97,99,100,101,102,103,104,105,106,108,110,111,112,113)
/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/bitrix/modules/main/lib/orm/query/query.php:3190
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php:457
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/sale/lib/internals/discountentities.php:224
#5: Bitrix\Sale\Internals\DiscountEntitiesTable::getByDiscount(array)
	/home/bitrix/www/bitrix/modules/sale/lib/discount/runtimecache/discountcache.php:131
#6: Bitrix\Sale\Discount\RuntimeCache\DiscountCache->getDiscountEntities(array)
	/home/bitrix/www/bitrix/modules/catalog/lib/discount/discountmanager.php:670
#7: Bitrix\Catalog\Discount\DiscountManager::preloadProductDataToExtendOrder(array, array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:464
#8: Bitrix\Iblock\Component\Base->initCatalogDiscountCache()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3705
#9: Bitrix\Iblock\Component\Base->prepareData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3659
#10: Bitrix\Iblock\Component\Base->processResultData()
	/home/bitrix/www/bitrix/components/bitrix/catalog.section/class.php:91
#11: CatalogSectionComponent->processResultData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4125
#12: Bitrix\Iblock\Component\Base->loadData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/elementlist.php:1167
#13: Bitrix\Iblock\Component\ElementList->loadData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4114
#14: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/bitrix/www/bitrix/components/bitrix/catalog.section/class.php:333
#15: CatalogSectionComponent->initialLoadAction()
	
#16: call_user_func(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4299
#17: Bitrix\Iblock\Component\Base->doAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4317
#18: Bitrix\Iblock\Component\Base->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:638
#19: CBitrixComponent->includeComponent(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1043
#20: CAllMain->IncludeComponent(string, string, array, NULL)
	/home/bitrix/www/personal/wishlist/index.php:176
#21: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#22: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2