[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
select `USER_ID` from `b_sale_fuser` where `ID`=10329882
/web/dota2.site/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/web/dota2.site/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/web/dota2.site/bitrix/modules/sale/lib/discountcouponsmanagerbase.php:1700
#2: Bitrix\Sale\DiscountCouponsManagerBase::initUserId()
	/web/dota2.site/bitrix/modules/sale/lib/discountcouponsmanagerbase.php:152
#3: Bitrix\Sale\DiscountCouponsManagerBase::initUseMode(integer, array)
	/web/dota2.site/bitrix/modules/sale/lib/discountcouponsmanagerbase.php:431
#4: Bitrix\Sale\DiscountCouponsManagerBase::init()
	/web/dota2.site/bitrix/modules/sale/lib/discountcouponsmanagerbase.php:768
#5: Bitrix\Sale\DiscountCouponsManagerBase::get(boolean, array, boolean)
	/web/dota2.site/bitrix/modules/sale/lib/discountcouponsmanagerbase.php:811
#6: Bitrix\Sale\DiscountCouponsManagerBase::getForApply(array, array, boolean)
	/web/dota2.site/bitrix/modules/sale/lib/discountbase.php:5449
#7: Bitrix\Sale\DiscountBase->loadDiscountList()
	/web/dota2.site/bitrix/modules/sale/lib/discountbase.php:1323
#8: Bitrix\Sale\DiscountBase->calculateFull()
	/web/dota2.site/bitrix/modules/sale/lib/discountbase.php:490
#9: Bitrix\Sale\DiscountBase->calculate()
	/web/dota2.site/bitrix/modules/catalog/general/discount.php:1138
#10: CAllCatalogDiscount::getSaleDiscountsByProduct(array, string, array, array, boolean, array)
	/web/dota2.site/bitrix/modules/catalog/general/discount.php:1298
#11: CAllCatalogDiscount::GetDiscount(integer, integer, array, array, string, string, array)
	/web/dota2.site/bitrix/modules/iblock/lib/component/base.php:2960
#12: Bitrix\Iblock\Component\Base->calculatePriceBlock(array, array, integer, boolean)
	/web/dota2.site/bitrix/modules/iblock/lib/component/base.php:2744
#13: Bitrix\Iblock\Component\Base->calculateItemPrices(array)
	/web/dota2.site/bitrix/modules/iblock/lib/component/base.php:3494
#14: Bitrix\Iblock\Component\Base->processProducts()
	/web/dota2.site/bitrix/modules/iblock/lib/component/base.php:4002
#15: Bitrix\Iblock\Component\Base->prepareData()
	/web/dota2.site/bitrix/modules/iblock/lib/component/base.php:3955
#16: Bitrix\Iblock\Component\Base->processResultData()
	/web/dota2.site/bitrix/modules/iblock/lib/component/element.php:286
#17: Bitrix\Iblock\Component\Element->processResultData()
	/web/dota2.site/bitrix/modules/iblock/lib/component/base.php:4453
#18: Bitrix\Iblock\Component\Base->loadData()
	/web/dota2.site/bitrix/modules/iblock/lib/component/base.php:4442
#19: Bitrix\Iblock\Component\Base->initialLoadAction()
	/web/dota2.site/bitrix/modules/iblock/lib/component/element.php:271
#20: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#21: call_user_func(array)
	/web/dota2.site/bitrix/modules/iblock/lib/component/base.php:4627
#22: Bitrix\Iblock\Component\Base->doAction()
	/web/dota2.site/bitrix/modules/iblock/lib/component/base.php:4645
#23: Bitrix\Iblock\Component\Base->executeComponent()
	/web/dota2.site/bitrix/modules/main/classes/general/component.php:648
#24: CBitrixComponent->includeComponent(string, array, object)
	/web/dota2.site/bitrix/modules/main/classes/general/main.php:1039
#25: CAllMain->IncludeComponent(string, string, array, object)
	/web/dota2.site/bitrix/templates/clevershop_v4/components/bitrix/catalog/catalog-template/element.php:51
#26: include(string)
	/web/dota2.site/bitrix/modules/main/classes/general/component_template.php:725
#27: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/web/dota2.site/bitrix/modules/main/classes/general/component_template.php:820
#28: CBitrixComponentTemplate->IncludeTemplate(array)
	/web/dota2.site/bitrix/modules/main/classes/general/component.php:745
#29: CBitrixComponent->showComponentTemplate()
	/web/dota2.site/bitrix/modules/main/classes/general/component.php:693
#30: CBitrixComponent->includeComponentTemplate(string)
	/web/dota2.site/bitrix/components/bitrix/catalog/component.php:171
#31: include(string)
	/web/dota2.site/bitrix/modules/main/classes/general/component.php:604
#32: CBitrixComponent->__includeComponent()
	/web/dota2.site/bitrix/modules/main/classes/general/component.php:663
#33: CBitrixComponent->includeComponent(string, array, NULL)
	/web/dota2.site/bitrix/modules/main/classes/general/main.php:1039
#34: CAllMain->IncludeComponent(string, string, array)
	/web/dota2.site/catalog/index.php:9
#35: include_once(string)
	/web/dota2.site/bitrix/modules/main/include/urlrewrite.php:159
#36: include_once(string)
	/web/dota2.site/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /web/dota2.site/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /web/dota2.site/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`main_...', Array, NULL) #1 /web/dota2.site/bitrix/modules/main/lib/orm/query/query.php(3304): Bitrix\Main\DB\Connection->query('SELECT \n\t`main_...') #2 /web/dota2.site/bitrix/modules/main/lib/orm/query/query.php(816): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`main_...') #3 /web/dota2.site/bitrix/modules/main/lib/orm/data/datamanager.php(500): Bitrix\Main\ORM\Query\Query->exec() #4 /web/dota2.site/bitrix/modules/main/lib/analytics/sitespeed.php(95): Bitrix\Main\ORM\Data\DataManager::getList(Array) #5 /web/dota2.site/bitrix/modules/main/lib/analytics/counter.php(92): Bitrix\Main\Analytics\SiteSpeed::isIntranetSite('s1') #6 /web/dota2.site/bitrix/modules/main/classes/general/module.php(490): Bitrix\Main in /web/dota2.site/bitrix/modules/main/lib/db/mysqliconnection.php on line 137