[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`iblock_property`.`ID` AS `ID`,
	`iblock_property`.`IBLOCK_ID` AS `IBLOCK_ID`,
	`iblock_property`.`NAME` AS `NAME`,
	`iblock_property`.`ACTIVE` AS `ACTIVE`,
	`iblock_property`.`SORT` AS `SORT`,
	`iblock_property`.`CODE` AS `CODE`,
	`iblock_property`.`DEFAULT_VALUE` AS `DEFAULT_VALUE`,
	`iblock_property`.`PROPERTY_TYPE` AS `PROPERTY_TYPE`,
	`iblock_property`.`ROW_COUNT` AS `ROW_COUNT`,
	`iblock_property`.`COL_COUNT` AS `COL_COUNT`,
	`iblock_property`.`LIST_TYPE` AS `LIST_TYPE`,
	`iblock_property`.`MULTIPLE` AS `MULTIPLE`,
	`iblock_property`.`XML_ID` AS `XML_ID`,
	`iblock_property`.`FILE_TYPE` AS `FILE_TYPE`,
	`iblock_property`.`MULTIPLE_CNT` AS `MULTIPLE_CNT`,
	`iblock_property`.`LINK_IBLOCK_ID` AS `LINK_IBLOCK_ID`,
	`iblock_property`.`WITH_DESCRIPTION` AS `WITH_DESCRIPTION`,
	`iblock_property`.`SEARCHABLE` AS `SEARCHABLE`,
	`iblock_property`.`FILTRABLE` AS `FILTRABLE`,
	`iblock_property`.`IS_REQUIRED` AS `IS_REQUIRED`,
	`iblock_property`.`VERSION` AS `VERSION`,
	`iblock_property`.`USER_TYPE` AS `USER_TYPE`,
	`iblock_property`.`USER_TYPE_SETTINGS` AS `USER_TYPE_SETTINGS`,
	`iblock_property`.`HINT` AS `HINT`
FROM `b_iblock_property` `iblock_property` 

WHERE `iblock_property`.`IBLOCK_ID` = 41
AND `iblock_property`.`ID` IN (452)
AND `iblock_property`.`ACTIVE` = 'Y'
ORDER BY `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/orm/query/query.php:3538
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:949
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/iblock/classes/general/iblockelement.php:5488
#5: CAllIBlockElement::GetPropertyValuesArray(array, integer, array, array, array)
	/home/bitrix/www/bitrix/modules/catalog/lib/discount/discountmanager.php:1537
#6: Bitrix\Catalog\Discount\DiscountManager::fillProperties(array, array, array, array)
	/home/bitrix/www/bitrix/modules/catalog/lib/discount/discountmanager.php:1586
#7: Bitrix\Catalog\Discount\DiscountManager::getProductData(array, array, array)
	/home/bitrix/www/bitrix/modules/catalog/lib/discount/discountmanager.php:753
#8: Bitrix\Catalog\Discount\DiscountManager::extendOrderData(object)
	
#9: call_user_func_array(array, array)
	/home/bitrix/www/bitrix/modules/main/lib/eventmanager.php:435
#10: Bitrix\Main\EventManager->sendToEventHandler(array, object)
	/home/bitrix/www/bitrix/modules/main/lib/eventmanager.php:371
#11: Bitrix\Main\EventManager->send(object)
	/home/bitrix/www/bitrix/modules/main/lib/event.php:142
#12: Bitrix\Main\Event->send()
	/home/bitrix/www/bitrix/modules/sale/lib/discountbase.php:4459
#13: Bitrix\Sale\DiscountBase->extendOrderData()
	/home/bitrix/www/bitrix/modules/sale/lib/discountbase.php:4621
#14: Bitrix\Sale\DiscountBase->executeDiscountList()
	/home/bitrix/www/bitrix/modules/sale/lib/discountbase.php:1324
#15: Bitrix\Sale\DiscountBase->calculateFull()
	/home/bitrix/www/bitrix/modules/sale/lib/discountbase.php:490
#16: Bitrix\Sale\DiscountBase->calculate()
	/home/bitrix/www/bitrix/modules/catalog/general/discount.php:1310
#17: CAllCatalogDiscount::getSaleDiscountsByProduct(array, string, array, array, boolean, array)
	/home/bitrix/www/bitrix/modules/catalog/general/discount.php:1471
#18: CAllCatalogDiscount::GetDiscount(integer, integer, array, array, string, string, array)
	/home/bitrix/www/bitrix/modules/catalog/general/product.php:1129
#19: CAllCatalogProduct::GetOptimalPrice(integer, double, array, string, array, string)
	/home/bitrix/www/local/php_interface/include/zaytsev/wrappix/class/sku.php:500
#20: Wrappix\Sku::getSKUListByProducts(array, array)
	/home/bitrix/www/local/php_interface/include/zaytsev/wrappix/class/sku.php:195
#21: Wrappix\Sku::getCatalogDataBySection(array, array, array, array, array, boolean)
	/home/bitrix/www/local/components/millz_karta/millz2025.catalog/class.php:938
#22: Millz2025Catalog->getProductsD7(NULL, NULL)
	/home/bitrix/www/local/components/millz_karta/millz2025.catalog/class.php:157
#23: Millz2025Catalog->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:656
#24: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1063
#25: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/ext_www/millzkarta.ru/catalog/index.php:9
#26: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#27: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/bitrix/www/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`main_...', Array, NULL) #1 /home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php(3538): Bitrix\Main\DB\Connection->query('SELECT \n\t`main_...') #2 /home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php(949): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`main_...') #3 /home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php(500): Bitrix\Main\ORM\Query\Query->exec() #4 /home/bitrix/www/bitrix/modules/main/lib/analytics/sitespeed.php(95): Bitrix\Main\ORM\Data\DataManager::getList(Array) #5 /home/bitrix/www/bitrix/modules/main/lib/analytics/counter.php(92): Bitrix\Main\Analytics\SiteSpeed::isIntranetSite('s2') #6 /home/bitrix/www/bitrix/modules/main/classes/general/module.php(480): Bit in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php on line 137