[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`sale_internals_discount`.`ID` AS `ID`,
	`sale_internals_discount`.`PRIORITY` AS `PRIORITY`,
	`sale_internals_discount`.`SORT` AS `SORT`,
	`sale_internals_discount`.`LAST_DISCOUNT` AS `LAST_DISCOUNT`,
	`sale_internals_discount`.`LAST_LEVEL_DISCOUNT` AS `LAST_LEVEL_DISCOUNT`,
	`sale_internals_discount`.`UNPACK` AS `UNPACK`,
	`sale_internals_discount`.`APPLICATION` AS `APPLICATION`,
	`sale_internals_discount`.`USE_COUPONS` AS `USE_COUPONS`,
	`sale_internals_discount`.`EXECUTE_MODULE` AS `EXECUTE_MODULE`,
	`sale_internals_discount`.`NAME` AS `NAME`,
	`sale_internals_discount`.`CONDITIONS` AS `CONDITIONS_LIST`,
	`sale_internals_discount`.`ACTIONS` AS `ACTIONS_LIST`,
	`sale_internals_discount`.`ACTIVE_FROM` AS `ACTIVE_FROM`,
	`sale_internals_discount`.`ACTIVE_TO` AS `ACTIVE_TO`,
	`sale_internals_discount`.`PREDICTIONS` AS `PREDICTIONS_LIST`,
	`sale_internals_discount`.`PREDICTIONS_APP` AS `PREDICTIONS_APP`,
	`sale_internals_discount`.`PREDICTION_TEXT` AS `PREDICTION_TEXT`,
	`sale_internals_discount`.`PRESET_ID` AS `PRESET_ID`,
	`sale_internals_discount`.`CURRENCY` AS `CURRENCY`,
	`sale_internals_discount`.`LID` AS `LID`,
	`sale_internals_discount`.`SHORT_DESCRIPTION` AS `SHORT_DESCRIPTION`,
	`sale_internals_discount`.`SHORT_DESCRIPTION` AS `SHORT_DESCRIPTION_STRUCTURE`
FROM `b_sale_discount` `sale_internals_discount` 

WHERE `sale_internals_discount`.`ID` IN (1)
AND `sale_internals_discount`.`LID` = 'bl'
AND `sale_internals_discount`.`EXECUTE_MODULE` IN ('all', 'catalog')
AND (
	(`sale_internals_discount`.`ACTIVE_FROM` IS NULL)
	OR `sale_internals_discount`.`ACTIVE_FROM` <= '2019-12-07 02:48:08'
)
AND (
	(`sale_internals_discount`.`ACTIVE_TO` IS NULL)
	OR `sale_internals_discount`.`ACTIVE_TO` >= '2019-12-07 02:48:08'
)
AND `sale_internals_discount`.`USE_COUPONS` = 'N'
ORDER BY `PRIORITY` DESC, `SORT` ASC, `ID` ASC
/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/lib/orm/query/query.php:3209
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/lib/orm/query/query.php:807
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/sale/lib/discount/runtimecache/discountcache.php:211
#5: Bitrix\Sale\Discount\RuntimeCache\DiscountCache->getDiscounts(array, array, string, array)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/iblock/classes/general/comp_pricetools.php:152
#6: CIBlockPriceTools::SetCatalogDiscountCache(array, array)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/iblock/lib/component/base.php:688
#7: Bitrix\Iblock\Component\Base->initPrices()
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/iblock/lib/component/base.php:3933
#8: Bitrix\Iblock\Component\Base->processResultData()
	/home/bitrix/ext_www/stenova.ru/bitrix/components/bitrix/catalog.section/class.php:91
#9: CatalogSectionComponent->processResultData()
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/iblock/lib/component/base.php:4440
#10: Bitrix\Iblock\Component\Base->loadData()
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/iblock/lib/component/elementlist.php:1201
#11: Bitrix\Iblock\Component\ElementList->loadData()
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/iblock/lib/component/base.php:4429
#12: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/bitrix/ext_www/stenova.ru/bitrix/components/bitrix/catalog.section/class.php:333
#13: CatalogSectionComponent->initialLoadAction()
	
#14: call_user_func(array)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/iblock/lib/component/base.php:4614
#15: Bitrix\Iblock\Component\Base->doAction()
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/iblock/lib/component/base.php:4632
#16: Bitrix\Iblock\Component\Base->executeComponent()
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/classes/general/component.php:638
#17: CBitrixComponent->includeComponent(string, array, object)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/classes/general/main.php:1039
#18: CAllMain->IncludeComponent(string, string, array, object)
	/home/bitrix/ext_www/stenova.ru/bitrix/templates/stenova/components/stenova/catalog/stenova_home/section_horizontal.php:373
#19: include(string)
	/home/bitrix/ext_www/stenova.ru/bitrix/templates/stenova/components/stenova/catalog/stenova_home/section.php:72
#20: include(string)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/classes/general/component_template.php:725
#21: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/classes/general/component_template.php:820
#22: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/classes/general/component.php:735
#23: CBitrixComponent->showComponentTemplate()
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/classes/general/component.php:683
#24: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/ext_www/stenova.ru/bitrix/components/stenova/catalog/component.php:170
#25: include(string)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/classes/general/component.php:594
#26: CBitrixComponent->__includeComponent()
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/classes/general/component.php:653
#27: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/classes/general/main.php:1039
#28: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/ext_www/stenova.ru/stenova-home/index.php:341
#29: include_once(string)
	/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/include/urlrewrite.php:159
#30: include_once(string)
	/home/bitrix/ext_www/stenova.ru/bitrix/urlrewrite.php:2

( ! ) Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/bitrix/ext_www/stenova.ru/bitrix/modules/main/lib/db/mysqliconnection.php on line 137
Call Stack
#TimeMemoryFunctionLocation
18.043110616176Bitrix\Main\Diag\ExceptionHandler->handleException( ).../exceptionhandler.php:0
( ! ) Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/bitrix/ext_www/stenova.ru/bitrix/modules/main/lib/db/mysqliconnection.php on line 137
Call Stack
#TimeMemoryFunctionLocation
18.043110616176Bitrix\Main\Diag\ExceptionHandler->handleException( ).../exceptionhandler.php:0
28.048010618688CAllMain::{closure:/home/bitrix/ext_www/stenova.ru/bitrix/modules/main/classes/general/main.php:3409-3416}( ).../main.php:0
38.048210602208ob_end_flush ( ).../main.php:3414
48.048210610432CMain->EndBufferContent( ).../main.php:3414
58.067210692464CMain->GetNavChain( ).../main.php:3181
68.072510694208CMain->_mkchain( ).../main.php:1459
78.072510694520include( '/home/bitrix/ext_www/stenova.ru/bitrix/templates/stenova/components/bitrix/breadcrumb/breadcrumbs/template.php' ).../main.php:1473
88.072510694768getParamMessage( ).../template.php:33
98.072610694768GetEntityDataClass( ).../init_langs.php:416
108.072610694768Bitrix\Main\ORM\Data\DataManager::getById( ).../init_langs.php:540
118.072610694768Bitrix\Main\ORM\Data\DataManager::getByPrimary( ).../datamanager.php:376
128.072610695952Bitrix\Main\ORM\Data\DataManager::getList( ).../datamanager.php:361
138.072810697248Bitrix\Main\ORM\Query\Query->exec( ).../datamanager.php:500
148.073810707352Bitrix\Main\ORM\Query\Query->query( ).../query.php:807
158.073810707352Bitrix\Main\DB\MysqliConnection->query( ).../query.php:3209
168.073810707352Bitrix\Main\DB\MysqliConnection->queryInternal( ).../connection.php:330