[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`catalog_price`.`ID` AS `ID`,
	`catalog_price`.`CATALOG_GROUP_ID` AS `CATALOG_GROUP_ID`,
	`catalog_price`.`PRICE` AS `PRICE`,
	`catalog_price`.`CURRENCY` AS `CURRENCY`
FROM `b_catalog_price` `catalog_price` 

WHERE `catalog_price`.`PRODUCT_ID` = 46223
AND `catalog_price`.`CATALOG_GROUP_ID` IN (1)
AND (
	`catalog_price`.`QUANTITY_FROM` <= 1
	OR (`catalog_price`.`QUANTITY_FROM` IS NULL OR `catalog_price`.`QUANTITY_FROM` = 0)
)
AND (
	`catalog_price`.`QUANTITY_TO` >= 1
	OR (`catalog_price`.`QUANTITY_TO` IS NULL OR `catalog_price`.`QUANTITY_TO` = 0)
)
ORDER BY `CATALOG_GROUP_ID` ASC
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/orm/query/query.php:3398
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/orm/query/query.php:825
#3: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/catalog/general/product.php:1029
#5: CAllCatalogProduct::GetOptimalPrice(integer, double, array, string, array, string, array)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/catalog/include.php:576
#6: CatalogViewedProductCallback(integer, integer, string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/catalog/general/product_provider.php:800
#7: CCatalogProductProvider::ViewProduct(array)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/sale/mysql/product.php:362
#8: CSaleViewedProduct::Add(array)
	/var/www/www-root/data/www/server-expert.com/bitrix/components/dresscode/catalog.item/component.php:724
#9: include(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:605
#10: CBitrixComponent->__includeComponent()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:680
#11: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/main.php:1041
#12: CAllMain->IncludeComponent(string, string, array, boolean, array)
	/var/www/www-root/data/www/server-expert.com/bitrix/templates/dresscodeV2_copy/components/bitrix/catalog/.default/element.php:129
#13: include(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component_template.php:789
#14: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component_template.php:884
#15: CBitrixComponentTemplate->IncludeTemplate(array)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:764
#16: CBitrixComponent->showComponentTemplate()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:712
#17: CBitrixComponent->includeComponentTemplate(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/components/bitrix/catalog/component.php:171
#18: include(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:605
#19: CBitrixComponent->__includeComponent()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:680
#20: CBitrixComponent->includeComponent(string, array, NULL, boolean)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/main.php:1041
#21: CAllMain->IncludeComponent(string, string, array)
	/var/www/www-root/data/www/server-expert.com/catalog/index.php:10
#22: include_once(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include/urlrewrite.php:159
#23: include_once(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`main_...', Array, NULL) #1 /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/orm/query/query.php(3398): Bitrix\Main\DB\Connection->query('SELECT \n\t`main_...') #2 /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/orm/query/query.php(825): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`main_...') #3 /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/orm/data/datamanager.php(500): Bitrix\Main\ORM\Query\Query->exec() #4 /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/analytics/sitespeed.php(95): Bitrix\Main\ORM\Data\DataManager::getList(Array) #5 /var/www/www-root/data/www/ser in /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/mysqliconnection.php on line 137