[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`catalog_discount`.`ID` AS `ID`,
	`catalog_discount`.`TYPE` AS `TYPE`,
	`catalog_discount`.`SITE_ID` AS `SITE_ID`,
	`catalog_discount`.`ACTIVE` AS `ACTIVE`,
	`catalog_discount`.`ACTIVE_FROM` AS `ACTIVE_FROM`,
	`catalog_discount`.`ACTIVE_TO` AS `ACTIVE_TO`,
	`catalog_discount`.`RENEWAL` AS `RENEWAL`,
	`catalog_discount`.`NAME` AS `NAME`,
	`catalog_discount`.`SORT` AS `SORT`,
	`catalog_discount`.`MAX_DISCOUNT` AS `MAX_DISCOUNT`,
	`catalog_discount`.`VALUE_TYPE` AS `VALUE_TYPE`,
	`catalog_discount`.`VALUE` AS `VALUE`,
	`catalog_discount`.`CURRENCY` AS `CURRENCY`,
	`catalog_discount`.`PRIORITY` AS `PRIORITY`,
	`catalog_discount`.`LAST_DISCOUNT` AS `LAST_DISCOUNT`,
	`catalog_discount`.`USE_COUPONS` AS `USE_COUPONS`,
	`catalog_discount`.`UNPACK` AS `UNPACK`,
	`catalog_discount`.`CONDITIONS` AS `CONDITIONS`
FROM `b_catalog_discount` `catalog_discount` 

WHERE `catalog_discount`.`ID` IN (13680,13681,13682,13683,13684,13685,13686,13687,13688,13689,13690,13692,13693,13694,13695,13696,13697,13698,13699,13700,13703,13704,13705,13707,13708,13709,13711,13712,13713,13714,13715,13716,13717,13718,13720,13721,13722,13723,13724,13725,13726,13727,13728,13729,13730,13731,13732,13734,13735,13736,13737,13738,13739,13740,13741,13743,13744,13745,13746,13748,13749,13750,13751,13752,13753,13755,13756,13769,13770,13771,13772,13773,13774,13776,13777,13778,13779,13780,13781,13782,13783,13784,13785,13786,13787,13788,13789,13790,13791,13792,13794,13795,13796,13797,13798,13800,13801,13802,13803,13804,13806,13807,13808,13809,13810,13814,13815,13816,13818,13819,13824,13825,13826,13828,13832,13833,13834,13854,13855,13865,13867,13872,13907,13908,13998,13999,14005,14010,14025,14029,14087,14100,14102,14103,14116,14117,14135,14136,14142,14143,14144,14145,14153,14154,14164,14165,14167,14168,14173,14174,14175,14178,14179,14181,14182,14198,14234,14236,14243,14245,14270,14271,14272,14273,14274,14275,14276,14277,14278,14279,14280,14281,14282,14283,14284,14285,14286,14287,14288,14289,14290,14291,14292,14293,14294,14295,14296,14297,14298,14299,14300,14301,14302,14414,14499,14500,14501,14502,14503,14504,14510,14514,14515,14516,14517,14518,14519,14520,14531,14532,14533,14540,14543,14545,14546,14547,14548,14549,14552,14553,14554,14557,14558,14559,14562,14589,14598,14604,14607,14609,14617,14757,14809,14906,14939,14940,14941,14942,14943,14944,14946,14947,14948,14949,14952,14953,14954,14956,14967,14968,14969,14971,14972,14973,14974,14975,14977,14978,14980,14985,14986,14987,14992,14993,15017,15018,15019,15026,15027,15028,15029,15030,15031,15032,15033,15034,15035,15036,15037,15038,15039,15040,15042,15043,15044,15045,15056,15057,15060,15061,15062,15064,15065,15066,15069,15070,15095,15096,15097,15099,15100,15101,15102,15117,15118,15119,15120,15123,15124,15125,15126,15129,15130,15131,15132,15135,15136,15165,15166,15167,15168,15169,15203,15204,15205,15638,15641,15642,15643,15644,15645,15646,15647,15648,15649,15650,15651,15652,15654,15655,15656,15657,15661,15662,15663,15664,15665,15666,15667,15668,15670,15671,15673,15674,15675,15676,15677,15678,15679,15680,15681,15684,15761,15763,15764,15765,15766,15767,15768,15769,15771,15773,15774,15775,15776,15777,15779,15782,15783,15784,15785,15787,15788,15789,15791,15792,15793,15795,15796,15799,15800,15801,15802,15804,15807,15809,15810,15811,15812,15815,15816,15817,15818,15819,15820,15821,15822,15823,15824,15825,15826,15827,15829,15830,15832,15833,15834,15837,15838,15839,15841,15842,15843,15844,15845,15848,15850,15852,15853,15854,15859,15861,15863,15869,15871,15872,16013,16051,16052,16053,16054,16055,16056,16057,16058,16059,16060,16061,16062,16063,16064,16065,16066,16067,16068,16069,16070,16071,16072,16073,16077,16080,16081,16082,16084,16089,16090,16092,16094,16095,16096,16098,16099,16100,16102,16106,16107,16109,16110,16111,16112,16113,16114,16115,16118,16120,16122,16124,16125,16126,16127,16128,16129,16130,16132,16133,16134,16135,16136,16137)
AND `catalog_discount`.`SITE_ID` = 's2'
AND (`catalog_discount`.`TYPE` IS NULL OR `catalog_discount`.`TYPE` = 0)
AND (
	(`catalog_discount`.`ACTIVE_FROM` IS NULL)
	OR `catalog_discount`.`ACTIVE_FROM` <= '2025-09-04 00:37:49'
)
AND (
	(`catalog_discount`.`ACTIVE_TO` IS NULL)
	OR `catalog_discount`.`ACTIVE_TO` >= '2025-09-04 00:37:49'
)
AND `catalog_discount`.`RENEWAL` = 'N'
AND `catalog_discount`.`USE_COUPONS` = 'N'
/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/lib/orm/query/query.php:3304
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/lib/orm/query/query.php:816
#3: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/catalog/general/discount.php:1466
#5: CAllCatalogDiscount::GetDiscount(integer, integer, array, array, string, string, array)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/catalog/general/product.php:1129
#6: CAllCatalogProduct::GetOptimalPrice(integer, double, array, string, array)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/dw.deluxe/classes/general/prices.php:152
#7: DwPrices::getPricesByProductId(string, array, array, array, string, string)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/components/dresscode/catalog.item/component.php:437
#8: include(string)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/classes/general/component.php:605
#9: CBitrixComponent->__includeComponent()
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/classes/general/component.php:664
#10: CBitrixComponent->includeComponent(string, array, boolean)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/classes/general/main.php:1039
#11: CAllMain->IncludeComponent(string, string, array, boolean, array)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/templates/dresscode/components/bitrix/catalog/.default/element.php:133
#12: include(string)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/classes/general/component_template.php:725
#13: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/classes/general/component_template.php:820
#14: CBitrixComponentTemplate->IncludeTemplate(array)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/classes/general/component.php:746
#15: CBitrixComponent->showComponentTemplate()
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/classes/general/component.php:694
#16: CBitrixComponent->includeComponentTemplate(string)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/components/bitrix/catalog/component.php:171
#17: include(string)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/classes/general/component.php:605
#18: CBitrixComponent->__includeComponent()
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/classes/general/component.php:664
#19: CBitrixComponent->includeComponent(string, array, boolean)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/classes/general/main.php:1039
#20: CAllMain->IncludeComponent(string, string, array, boolean, array)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/catalog/index.php:783
#21: include_once(string)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/modules/main/include/urlrewrite.php:159
#22: include_once(string)
	/var/www/user13533/data/www/xn----utbcjbgv0e.com.ua/bitrix/urlrewrite.php:2