C 9:00 до 21:00 +375 29 666-68-08
  • +375 29 666-68-08
  • +375 33 666-68-08
  • +375 25 666-68-08
  • +375 17 388-68-08
Заказать звонок
[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 (282501,282502,282503,282504,282505,282506,282507,282508,282509,282510,282511,282512,282513,282514,282515,282516,282517,282518,282519,282520,282521,282522,282523,282524,282525,282526,282527,282528,282529,282530,282531,282532,282533,282534,282535,282536,282537,282538,282539,282540,282541,282542,282543,282544,282545,282546,282547,282548,282549,282550,282551,282552,282553,282554,282555,282556,282557,282558,282559,282560,282561,282562,282563,282564,282565,282566,282567,282568,282569,282570,282571,282572,282573,282574,282575,282576,282577,282578,282579,282580,282581,282582,282583,282584,282585,282586,282587,282588,282589,282590,282591,282592,282593,282594,282595,282596,282597,282598,282599,282600,282601,282602,282603,282604,282605,282606,282607,282608,282609,282610,282611,282612,282613,282614,282615,282616,282617,282618,282619,282620,282621,282622,282623,282624,282625,282626,282627,282628,282629,282630,282631,282632,282633,282634,282635,282636,282637,282638,282639,282640,282641,282642,282643,282644,282645,282646,282647,282648,282649,282650,282651,282652,282653,282654,282655,282656,282657,282658,282659,282660,282661,282662,282663,282664,282665,282666,282667,282668,282669,282670,282671,282672,282673,282674,282675,282676,282677,282678,282679,282680,282681,282682,282683,282684,282685,282686,282687,282688,282689,282690,282691,282692,282693,282694,282695,282696,282697,282698,282699,282700,282701,282702,282703,282704,282705,282706,282707,282708,282709,282710,282711,282712,282713,282714,282715,282716,282717,282718,282719,282720,282721,282722,282723,282724,282725,282726,282727,282728,282729,282730,282731,282732,282733,282734,282735,282736,282737,282738,282739,282740,282741,282742,282743,282744,282745,282746,282747,282748,282749,282750,282751,282752,282753,282754,282755,282756,282757,282758,282759,282760,282761,282762,282763,282764,282765,282766,282767,282768,282769,282770,282771,282772,282773,282774,282775,282776,282777,282778,282779,282780,282781,282782,282783,282784,282785,282786,282787,282788,282789,282790,282791,282792,282793,282794,282795,282796,282797,282798,282799,282800,282801,282802,282803,282804,282805,282806,282807,282808,282809,282810,282811,282812,282813,282814,282815,282816,282817,282818,282819,282820,282821,282822,282823,282824,282825,282826,282827,282828,282829,282830,282831,282832,282833,282834,282835,282836,282837,282838,282839,282840,282841,282842,282843,282844,282845,282846,282847,282848,282849,282850,282851,282852,282853,282854,282855,282856,282857,282858,282859,282860,282861,282862,282863,282864,282865,282866,282867,282868,282869,282870,282871,282872,282873,282874,282875,282876,282877,282878,282879,282880,282881,282882,282883,282884,282885,282886,282887,282888,282889,282890,282891,282892,282893,282894,282895,282896,282897,282898,282899,282900,282901,282902,282903,282904,282905,282906,282907,282908,282909,282910,282911,282912,282913,282914,282915,282916,282917,282918,282919,282920,282921,282922,282923,282924,282925,282926,282927,282928,282929,282930,282931,282932,282933,282934,282935,282936,282937,282938,282939,282940,282941,282942,282943,282944,282945,282946,282947,282948,282949,282950,282951,282952,282953,282954,282955,282956,282957,282958,282959,282960,282961,282962,282963,282964,282965,282966,282967,282968,282969,282970,282971,282972,282973,282974,282975,282976,282977,282978,282979,282980,282981,282982,282983,282984,282985,282986,282987,282988,282989,282990,282991,282992,282993,282994,282995,282996,282997,282998,282999,283000)
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` <= '2019-07-24 11:48:30'
)
AND (
	(`catalog_discount`.`ACTIVE_TO` IS NULL)
	OR `catalog_discount`.`ACTIVE_TO` >= '2019-07-24 11:48:30'
)
AND `catalog_discount`.`USE_COUPONS` = 'N'
/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:3193
#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:467
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/catalog/general/discount.php:1431
#5: CAllCatalogDiscount::GetDiscount(integer, integer, array, array, string, string, array)
	/home/bitrix/www/bitrix/php_interface/functions.php:2229
#6: getCatalogPrice(array, integer)
	/home/bitrix/www/local/components/ester/brands.element/class.php:244
#7: ImarketBrandElementComponent->getBrandGoods(array)
	/home/bitrix/www/local/components/ester/brands.element/class.php:154
#8: ImarketBrandElementComponent->getBrand()
	/home/bitrix/www/local/components/ester/brands.element/class.php:34
#9: ImarketBrandElementComponent->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:638
#10: CBitrixComponent->includeComponent(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1038
#11: CAllMain->IncludeComponent(string, string, array)
	/home/bitrix/www/brands/index.php:8
#12: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#13: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2