Уточнить раздел
[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`currency_currency`.`CURRENCY` AS `CURRENCY`
FROM `b_catalog_currency` `currency_currency` 

WHERE `currency_currency`.`BASE` = 'Y'
AND `currency_currency`.`AMOUNT` = 1
/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/currency/lib/currencymanager.php:81
#5: Bitrix\Currency\CurrencyManager::getBaseCurrency()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/currency/mysql/currency_rate.php:12
#6: CCurrencyRates::_get_last_rates(string, string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/currency/general/currency_rate.php:419
#7: CAllCurrencyRates::GetConvertFactorEx(string, string, string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/currency/general/currency_rate.php:327
#8: CAllCurrencyRates::ConvertCurrency(string, string, string)
	/var/www/www-root/data/www/server-expert.com/bitrix/components/bitrix/catalog.smart.filter/class.php:465
#9: CBitrixCatalogSmartFilter->fillItemPrices(array, array)
	/var/www/www-root/data/www/server-expert.com/bitrix/components/bitrix/catalog.smart.filter/component.php:261
#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:103
#12: CBitrixComponent->executeComponent()
	/var/www/www-root/data/www/server-expert.com/bitrix/components/bitrix/catalog.smart.filter/class.php:138
#13: CBitrixCatalogSmartFilter->executeComponent()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:656
#14: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/main.php:1041
#15: CAllMain->IncludeComponent(string, string, array, boolean)
	/var/www/www-root/data/www/server-expert.com/bitrix/templates/dresscodeV2_copy/components/bitrix/catalog/.default/section.php:221
#16: include(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component_template.php:789
#17: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component_template.php:884
#18: CBitrixComponentTemplate->IncludeTemplate(array)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:764
#19: CBitrixComponent->showComponentTemplate()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:712
#20: CBitrixComponent->includeComponentTemplate(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/components/bitrix/catalog/component.php:171
#21: include(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:605
#22: CBitrixComponent->__includeComponent()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:680
#23: CBitrixComponent->includeComponent(string, array, NULL, boolean)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/main.php:1041
#24: CAllMain->IncludeComponent(string, string, array)
	/var/www/www-root/data/www/server-expert.com/catalog/index.php:10
#25: include_once(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include/urlrewrite.php:159
#26: 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