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

WHERE `catalog_group_access`.`GROUP_ID` IN (2)
AND `catalog_group_access`.`BUY` = 'Y'
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:2678
#5: CAllCatalogProduct::getAllowedPriceTypes(array)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/catalog/general/product.php:1024
#6: CAllCatalogProduct::GetOptimalPrice(integer, double, array, string, array, string, array)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/catalog/include.php:576
#7: CatalogViewedProductCallback(integer, integer, string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/catalog/general/product_provider.php:800
#8: CCatalogProductProvider::ViewProduct(array)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/sale/mysql/product.php:362
#9: CSaleViewedProduct::Add(array)
	/var/www/www-root/data/www/server-expert.com/bitrix/components/dresscode/catalog.item/component.php:724
#10: include(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:605
#11: CBitrixComponent->__includeComponent()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:680
#12: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/main.php:1041
#13: 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
#14: include(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component_template.php:789
#15: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component_template.php:884
#16: CBitrixComponentTemplate->IncludeTemplate(array)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:764
#17: CBitrixComponent->showComponentTemplate()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:712
#18: CBitrixComponent->includeComponentTemplate(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/components/bitrix/catalog/component.php:171
#19: include(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:605
#20: CBitrixComponent->__includeComponent()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:680
#21: CBitrixComponent->includeComponent(string, array, NULL, boolean)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/main.php:1041
#22: CAllMain->IncludeComponent(string, string, array)
	/var/www/www-root/data/www/server-expert.com/catalog/index.php:10
#23: include_once(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include/urlrewrite.php:159
#24: 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