[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`catalog_catalog_iblock`.`IBLOCK_ID` AS `IBLOCK_ID`,
	`catalog_catalog_iblock`.`PRODUCT_IBLOCK_ID` AS `PRODUCT_IBLOCK_ID`,
	`catalog_catalog_iblock`.`SKU_PROPERTY_ID` AS `SKU_PROPERTY_ID`,
	`catalog_catalog_iblock_iblock`.`VERSION` AS `VERSION`,
	`catalog_catalog_iblock_iblock`.`ID` AS `UALIAS_0`
FROM `b_catalog_iblock` `catalog_catalog_iblock` 
INNER JOIN `b_iblock` `catalog_catalog_iblock_iblock` ON `catalog_catalog_iblock`.`IBLOCK_ID` = `catalog_catalog_iblock_iblock`.`ID`
WHERE `catalog_catalog_iblock`.`PRODUCT_IBLOCK_ID` = 10
/home/bitrix/core/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/core/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/core/bitrix/modules/main/lib/orm/query/query.php:3304
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/core/bitrix/modules/main/lib/orm/query/query.php:816
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/core/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/core/bitrix/modules/catalog/general/catalog_sku.php:143
#5: CAllCatalogSku::GetInfoByProductIBlock(integer)
	/home/bitrix/core/bitrix/modules/iblock/lib/propertyindex/facet.php:45
#6: Bitrix\Iblock\PropertyIndex\Facet->__construct(integer)
	/home/bitrix/core/bitrix/modules/iblock/lib/propertyindex/querybuilder.php:28
#7: Bitrix\Iblock\PropertyIndex\QueryBuilder->__construct(integer)
	/home/bitrix/core/bitrix/modules/iblock/classes/general/iblockelement.php:657
#8: CAllIBlockElement->MkFilter(array, array, array)
	/home/bitrix/core/bitrix/modules/iblock/classes/general/iblockelement.php:3088
#9: CAllIBlockElement->PrepareGetList(array, array, array, string, array, array, NULL, NULL, array, boolean, string, array, array, array)
	/home/bitrix/core/bitrix/modules/iblock/classes/mysql/iblockelement.php:343
#10: CIBlockElement->prepareSql(array, array, boolean, array)
	/home/bitrix/core/bitrix/modules/iblock/classes/mysql/iblockelement.php:662
#11: CIBlockElement::GetList(array, array, boolean, boolean, array)
	/home/bitrix/www/local/templates/bra19/components/bitrix/catalog/bra_catalog/bitrix/catalog.element/.default/result_modifier.php:634
#12: include(string)
	/home/bitrix/core/bitrix/modules/main/classes/general/component_template.php:946
#13: CBitrixComponentTemplate->__IncludeMutatorFile(array, array)
	/home/bitrix/core/bitrix/modules/main/classes/general/component_template.php:853
#14: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/core/bitrix/modules/main/classes/general/component.php:746
#15: CBitrixComponent->showComponentTemplate()
	/home/bitrix/core/bitrix/modules/main/classes/general/component.php:694
#16: CBitrixComponent->includeComponentTemplate()
	/home/bitrix/core/bitrix/modules/iblock/lib/component/base.php:4463
#17: Bitrix\Iblock\Component\Base->loadData()
	/home/bitrix/core/bitrix/modules/iblock/lib/component/base.php:4442
#18: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/bitrix/core/bitrix/modules/iblock/lib/component/element.php:271
#19: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#20: call_user_func(array)
	/home/bitrix/core/bitrix/modules/iblock/lib/component/base.php:4627
#21: Bitrix\Iblock\Component\Base->doAction()
	/home/bitrix/core/bitrix/modules/iblock/lib/component/base.php:4645
#22: Bitrix\Iblock\Component\Base->executeComponent()
	/home/bitrix/core/bitrix/modules/main/classes/general/component.php:649
#23: CBitrixComponent->includeComponent(string, array, object)
	/home/bitrix/core/bitrix/modules/main/classes/general/main.php:1039
#24: CAllMain->IncludeComponent(string, string, array, object)
	/home/bitrix/www/local/templates/bra19/components/bitrix/catalog/bra_catalog/element.php:160
#25: include(string)
	/home/bitrix/core/bitrix/modules/main/classes/general/component_template.php:789
#26: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/core/bitrix/modules/main/classes/general/component_template.php:884
#27: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/core/bitrix/modules/main/classes/general/component.php:746
#28: CBitrixComponent->showComponentTemplate()
	/home/bitrix/core/bitrix/modules/main/classes/general/component.php:694
#29: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/core/bitrix/components/bitrix/catalog/component.php:171
#30: include(string)
	/home/bitrix/core/bitrix/modules/main/classes/general/component.php:605
#31: CBitrixComponent->__includeComponent()
	/home/bitrix/core/bitrix/modules/main/classes/general/component.php:664
#32: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/core/bitrix/modules/main/classes/general/main.php:1039
#33: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/www/catalog/index.php:298
#34: include_once(string)
	/home/bitrix/core/bitrix/modules/main/include/urlrewrite.php:159
#35: include_once(string)
	/home/bitrix/www/404.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/bitrix/core/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/bitrix/core/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('\n\t\t\t\tSELECT NAM...', Array, NULL) #1 /home/bitrix/core/bitrix/modules/main/lib/config/option.php(196): Bitrix\Main\DB\Connection->query('\n\t\t\t\tSELECT NAM...') #2 /home/bitrix/core/bitrix/modules/main/lib/config/option.php(38): Bitrix\Main\Config\Option::load('roistat.integra...') #3 /home/bitrix/core/bitrix/modules/main/classes/general/option.php(30): Bitrix\Main\Config\Option::get('roistat.integra...', 'PROJECT_ID', '', false) #4 /home/bitrix/core/bitrix/modules/roistat.integration/classes/general/roistat.php(11): CAllOption::GetOptionString('roistat.integra...', 'PROJECT_ID') #5 /home/bitrix/core/bitrix/modules/main/classes/general/module.php(490): CRoistat::OnEndBufferContentHandler('\n <!DOCTYPE ...' in /home/bitrix/core/bitrix/modules/main/lib/db/mysqliconnection.php on line 137