Каталог товаров

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

WHERE `sale_internals_discount_module`.`DISCOUNT_ID` IN (7510932,7510933,7510934,7510935,7510936,7510937,7510938,7510939,7510940,7510952,7510953,7510954,7510955,7510956,7510957,7510958,7510968,7510969,7510970,7510971,7510972,7510973,7510974,7510984,7510985,7510986,7510987,7510988,7510989,7510997,7510998,7510999,7511000,7511001,7511002,7511012,7511013,7511014,7511023,7511024,7511025,7511026,7511027,7511037,7511038,7511039,7511040,7511041,7511042,7511043,7511050,7511051,7511052,7511053,7511054,7511063,7511064,7511065,7511066,7511067,7511074,7511075,7511076,7511077,7511078,7511079,7511088,7511089,7511090,7511091,7511092,7511093,7511094,7511099,7511100,7511101,7511102,7511103,7511104,7511111,7511112,7511113,7511114,7511115,7511116,7511124,7511125,7511126,7511127,7511128,7511129,7511130,7511140,7511141,7511142,7511143,7511144,7511145,7511146,7511147,7511151,7511152,7511153,7511154,7511155,7511161,7511162,7511163,7511164,7511165,7511166,7511171,7511172,7511173,7511174,7511175,7511176,7511177,7511178,7511182,7511183,7511184,7511185,7511186,7511187,7511193,7511194,7511195,7511196,7511197,7511198,7511205,7511206,7511207,7511208,7511209,7511217,7511218,7511219,7511220,7511221,7511222,7511223,7511228,7511229,7511230,7511231,7511232,7511233,7511234,7511240,7511241,7511242,7511243,7511244,7511245,7511246,7511247,7511252,7511253,7511254,7511255,7511256,7511257,7511258,7511259,7511260,7511263,7511264,7511265,7511266,7511272,7511273,7511274,7511275,7511276,7511277,7511284,7511285,7511286,7511287,7511294,7511295,7511296,7511297,7511298,7511304,7511305,7511306,7511307,7511308,7511309,7511317,7511318,7511319,7511320,7511321,7511322,7511323,7511328,7511329,7511330,7511331,7511334,7511335,7511336,7511337,7511338,7511342,7511343,7511344,7511345,7511346,7511350,7511351,7511352,7511353,7511354,7511355,7511361,7511362,7511363,7511364,7511365,7511366,7511369,7511370,7511371,7511372,7511376,7511377,7511378,7511381,7511382,7511383,7511384,7511385,7511391,7511392,7511393,7511394,7511395,7511396,7511397,7511403,7511404,7511405,7511406,7511407,7511408,7511409,7511414,7511415,7511420,7511421,7511422,7511423,7511424,7511425,7511426,7511432,7511433,7511434,7511442,7511443,7511444,7511445,7511446,7511447,7511453,7511454,7511455,7511456,7511457,7511458,7511464,7511465,7511466,7511467,7511468,7511473,7511474,7511475,7511476,7511477,7511478,7511479,7511480,7511481,7511487,7511488,7511489,7511490,7511491,7511492,7511499,7511500,7511501,7511508,7511509,7511510,7511511,7511512,7511519,7511520,7511521,7511522,7511523,7511524,7511532,7511533,7511534,7511535,7511536,7511537,7511542,7511543,7511544,7511545,7511551,7511552,7511553,7511557,7511558,7511559,7511560,7511561,7511562,7511570,7511571,7511572,7511573,7511574,7511575,7511576,7511582,7511583,7511584,7511585,7511586,7511587,7511588,7511594,7511595,7511596,7511597,7511604,7511605,7511606,7511607,7511608,7511609,7511610,7511616,7511617,7511618,7511625,7511626,7511627,7511635,7511636,7511637,7511638,7511639,7511644,7511645,7511646,7511647,7511648,7511649,7511650,7511655,7511656,7511657,7511658,7511659,7511660,7511661,7511666,7511667,7511668,7511669,7511675,7511676,7511677,7511678,7511687,7511688,7511689,7511690,7511691,7511692,7511700,7511701,7511702,7511703,7511710,7511711,7511712,7511718,7511719,7511720,7511721,7511722,7511729,7511730,7511731,7511732,7511740,7511741,7511742,7511746,7511747,7511748,7511749,7511750,7511757,7511758,7511759,7511760,7511761,7511769,7511770,7511771,7511772,7511773,7511782,7511783,7511784,7511785,7511786,7511791,7511792,7511793,7511794,7511802,7511803,7511804,7511806,7511812,7511813,7511814,7511816,7511823,7511824,7511825,7511826,7511835,7511836,7511837,7511838,7511839,7511841,7511846,7511847,7511848,7511854,7511855,7511856,7511857,7511861,7511862,7511863,7511864,7511866,7511873,7511874,7511875,7511876,7511882,7511883,7511884,7511885,7511886,7511893,7511894,7511895,7511896,7511897,7511898,7511903,7511904,7511910,7511911,7511912,7511913,7511917,7511918,7511919,7511920,7511921,7511926,7511927,7511928,7511929,7511932,7511933,7511934,7511935,7511936)
/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/discountmodule.php:147
#5: Bitrix\Sale\Internals\DiscountModuleTable::getByDiscount(array)
	/home/bitrix/www/bitrix/modules/sale/lib/discount/runtimecache/discountcache.php:86
#6: Bitrix\Sale\Discount\RuntimeCache\DiscountCache->getDiscountModules(array)
	/home/bitrix/www/bitrix/modules/sale/lib/discount/runtimecache/discountcache.php:232
#7: Bitrix\Sale\Discount\RuntimeCache\DiscountCache->getDiscounts(array, array, string, array)
	/home/bitrix/www/bitrix/modules/sale/lib/discountbase.php:5375
#8: Bitrix\Sale\DiscountBase->loadDiscountList()
	/home/bitrix/www/bitrix/modules/sale/lib/discountbase.php:1276
#9: Bitrix\Sale\DiscountBase->calculateFull()
	/home/bitrix/www/bitrix/modules/sale/lib/discountbase.php:490
#10: Bitrix\Sale\DiscountBase->calculate()
	/home/bitrix/www/bitrix/modules/catalog/general/discount.php:1120
#11: CAllCatalogDiscount::getSaleDiscountsByProduct(array, string, array, array, boolean, array)
	/home/bitrix/www/bitrix/modules/catalog/general/discount.php:1256
#12: CAllCatalogDiscount::GetDiscount(integer, integer, array, array, string, string, array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:2691
#13: Bitrix\Iblock\Component\Base->calculatePriceBlock(array, array, integer, boolean)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:2475
#14: Bitrix\Iblock\Component\Base->calculateItemPrices(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3225
#15: Bitrix\Iblock\Component\Base->processProducts()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3706
#16: Bitrix\Iblock\Component\Base->prepareData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3659
#17: Bitrix\Iblock\Component\Base->processResultData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:285
#18: Bitrix\Iblock\Component\Element->processResultData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4125
#19: Bitrix\Iblock\Component\Base->loadData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4114
#20: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:270
#21: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#22: call_user_func(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4299
#23: Bitrix\Iblock\Component\Base->doAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4317
#24: Bitrix\Iblock\Component\Base->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:638
#25: CBitrixComponent->includeComponent(string, array, object)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1037
#26: CAllMain->IncludeComponent(string, string, array, object, array)
	/home/bitrix/www/bitrix/templates/profood_default/components/bitrix/catalog/gopro/element.php:344
#27: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:720
#28: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:815
#29: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:735
#30: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:683
#31: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/www/bitrix/components/bitrix/catalog/component.php:171
#32: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:594
#33: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:653
#34: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1037
#35: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/www/catalog/index.php:458
#36: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#37: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2