soap
Каталог товаров
Закрыть
Каталог
[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 (2,27,28,29,30,31,42,55,60,61,64,65,66,67)
AND `sale_internals_discount`.`LID` = 's1'
AND `sale_internals_discount`.`EXECUTE_MODULE` IN ('all', 'catalog')
AND (
	(`sale_internals_discount`.`ACTIVE_FROM` IS NULL)
	OR `sale_internals_discount`.`ACTIVE_FROM` <= '2019-11-22 13:10:12'
)
AND (
	(`sale_internals_discount`.`ACTIVE_TO` IS NULL)
	OR `sale_internals_discount`.`ACTIVE_TO` >= '2019-11-22 13:10:12'
)
AND `sale_internals_discount`.`USE_COUPONS` = 'N'
ORDER BY `PRIORITY` DESC, `SORT` ASC, `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:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/entity/query.php:3038
#2: Bitrix\Main\Entity\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/entity/query.php:797
#3: Bitrix\Main\Entity\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/entity/datamanager.php:290
#4: Bitrix\Main\Entity\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/sale/lib/discount/runtimecache/discountcache.php:211
#5: Bitrix\Sale\Discount\RuntimeCache\DiscountCache->getDiscounts(array, array, string, array)
	/home/bitrix/www/bitrix/modules/sale/lib/discount.php:5272
#6: Bitrix\Sale\Discount->loadDiscountList()
	/home/bitrix/www/bitrix/modules/sale/lib/discount.php:1637
#7: Bitrix\Sale\Discount->calculateFull()
	/home/bitrix/www/bitrix/modules/sale/lib/discount.php:594
#8: Bitrix\Sale\Discount->calculate()
	/home/bitrix/www/bitrix/modules/catalog/general/discount.php:1115
#9: CAllCatalogDiscount::getSaleDiscountsByProduct(array, string, array, array, boolean, array)
	/home/bitrix/www/bitrix/modules/catalog/general/discount.php:1251
#10: CAllCatalogDiscount::GetDiscount(integer, integer, array, array, string, string, array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:2615
#11: Bitrix\Iblock\Component\Base->calculatePriceBlock(array, array, integer, boolean)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:2399
#12: Bitrix\Iblock\Component\Base->calculateItemPrices(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3149
#13: Bitrix\Iblock\Component\Base->processProducts()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3625
#14: Bitrix\Iblock\Component\Base->prepareData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3578
#15: Bitrix\Iblock\Component\Base->processResultData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:243
#16: Bitrix\Iblock\Component\Element->processResultData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4032
#17: Bitrix\Iblock\Component\Base->loadData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4021
#18: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:228
#19: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#20: call_user_func(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4206
#21: Bitrix\Iblock\Component\Base->doAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4224
#22: Bitrix\Iblock\Component\Base->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:638
#23: CBitrixComponent->includeComponent(string, array, object)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1037
#24: CAllMain->IncludeComponent(string, string, array, object)
	/home/bitrix/www/local/templates/mind4me/components/bitrix/catalog/new-catalog/element.php:227
#25: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:720
#26: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:815
#27: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:735
#28: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:683
#29: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/www/bitrix/components/bitrix/catalog/component.php:171
#30: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:594
#31: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:653
#32: CBitrixComponent->includeComponent(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1037
#33: CAllMain->IncludeComponent(string, string, array)
	/home/bitrix/www/catalog/index.php:14
#34: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#35: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2