[Bitrix\Main\DB\SqlQueryException]
Mysql query error: (2006) MySQL server has gone away (400)
select CAT_PR.ID as PRODUCT_ID, CAT_VAT.*, CAT_PR.VAT_INCLUDED
from b_catalog_product CAT_PR
left join b_iblock_element BE on (BE.ID = CAT_PR.ID)
left join b_catalog_iblock CAT_IB on ((CAT_PR.VAT_ID is null or CAT_PR.VAT_ID = 0) and CAT_IB.IBLOCK_ID = BE.IBLOCK_ID)
left join b_catalog_vat CAT_VAT on (CAT_VAT.ID = IF((CAT_PR.VAT_ID is null or CAT_PR.VAT_ID = 0), CAT_IB.VAT_ID, CAT_PR.VAT_ID))
where CAT_PR.ID in (42891)
and CAT_VAT.ACTIVE='Y'
/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/catalog/mysql/product.php:247
#2: CCatalogProduct::loadVatInfoFromDB(array)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/catalog/mysql/product.php:212
#3: CCatalogProduct::GetVATDataByID(integer)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/catalog/general/product.php:1064
#4: CAllCatalogProduct::GetOptimalPrice(integer, double, array, string, array)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/dw.deluxe/classes/general/prices.php:152
#5: DwPrices::getPricesByProductId(string, array, array, array, string, string)
/var/www/www-root/data/www/server-expert.com/bitrix/components/dresscode/catalog.item/component.php:434
#6: include(string)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:605
#7: CBitrixComponent->__includeComponent()
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:680
#8: CBitrixComponent->includeComponent(string, array, boolean, boolean)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/main.php:1041
#9: 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
#10: include(string)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component_template.php:789
#11: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component_template.php:884
#12: CBitrixComponentTemplate->IncludeTemplate(array)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:764
#13: CBitrixComponent->showComponentTemplate()
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:712
#14: CBitrixComponent->includeComponentTemplate(string)
/var/www/www-root/data/www/server-expert.com/bitrix/components/bitrix/catalog/component.php:171
#15: include(string)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:605
#16: CBitrixComponent->__includeComponent()
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:680
#17: CBitrixComponent->includeComponent(string, array, NULL, boolean)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/main.php:1041
#18: CAllMain->IncludeComponent(string, string, array)
/var/www/www-root/data/www/server-expert.com/catalog/index.php:10
#19: include_once(string)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include/urlrewrite.php:159
#20: 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