Войдите / Зарегистрируйтесь

Забыли пароль?

* Все поля обязательны для заполнения

[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,5,6,7,8,9,10,11,12,13,14,15,17,18,19,20,21,22,24,28)
/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, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1043
#20: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/www/bitrix/templates/web-snab/include/ru/areas/advices.php:106
#21: include(string)
	/home/bitrix/www/bitrix/components/bitrix/main.include/templates/.default/template.php:17
#22: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:720
#23: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:815
#24: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:735
#25: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:683
#26: CBitrixComponent->includeComponentTemplate()
	/home/bitrix/www/bitrix/components/bitrix/main.include/component.php:280
#27: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:594
#28: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:653
#29: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1043
#30: CAllMain->IncludeComponent(string, string, array, boolean, array)
	/home/bitrix/www/catalog/section.php:215
#31: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#32: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2