[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`main_group`.`ID` AS `ID`
FROM `b_group` `main_group` 

WHERE `main_group`.`ANONYMOUS` = 'Y'
AND `main_group`.`ACTIVE` = 'Y'
/var/www/clients/client1/web1/web/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/clients/client1/web1/web/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/clients/client1/web1/web/bitrix/modules/main/lib/orm/query/query.php:3193
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/clients/client1/web1/web/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/clients/client1/web1/web/bitrix/modules/main/lib/orm/data/datamanager.php:467
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/var/www/clients/client1/web1/web/bitrix/modules/main/lib/user.php:308
#5: Bitrix\Main\UserTable::getUserGroupIds(integer)
	/var/www/clients/client1/web1/web/bitrix/modules/catalog/general/querybuilder.php:1684
#6: CProductQueryBuilder::setOptions(array)
	/var/www/clients/client1/web1/web/bitrix/modules/catalog/general/querybuilder.php:1575
#7: CProductQueryBuilder::prepareQuery(array, array)
	/var/www/clients/client1/web1/web/bitrix/modules/catalog/general/querybuilder.php:67
#8: CProductQueryBuilder::makeQuery(array)
	/var/www/clients/client1/web1/web/bitrix/modules/iblock/classes/mysql/iblockelement.php:554
#9: CIBlockElement->prepareSql(array, array, boolean, array)
	/var/www/clients/client1/web1/web/bitrix/modules/iblock/classes/mysql/iblockelement.php:661
#10: CIBlockElement::GetList(array, array, boolean, boolean, array)
	/var/www/clients/client1/web1/web/bitrix/modules/iblock/lib/component/base.php:1632
#11: Bitrix\Iblock\Component\Base->getElementList(integer, integer)
	/var/www/clients/client1/web1/web/bitrix/modules/iblock/lib/component/element.php:467
#12: Bitrix\Iblock\Component\Element->getElementList(integer, integer)
	/var/www/clients/client1/web1/web/bitrix/modules/iblock/lib/component/base.php:748
#13: Bitrix\Iblock\Component\Base->initElementList()
	/var/www/clients/client1/web1/web/bitrix/modules/iblock/lib/component/base.php:3901
#14: Bitrix\Iblock\Component\Base->processResultData()
	/var/www/clients/client1/web1/web/bitrix/modules/iblock/lib/component/element.php:286
#15: Bitrix\Iblock\Component\Element->processResultData()
	/var/www/clients/client1/web1/web/bitrix/modules/iblock/lib/component/base.php:4396
#16: Bitrix\Iblock\Component\Base->loadData()
	/var/www/clients/client1/web1/web/bitrix/modules/iblock/lib/component/base.php:4385
#17: Bitrix\Iblock\Component\Base->initialLoadAction()
	/var/www/clients/client1/web1/web/bitrix/modules/iblock/lib/component/element.php:271
#18: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#19: call_user_func(array)
	/var/www/clients/client1/web1/web/bitrix/modules/iblock/lib/component/base.php:4570
#20: Bitrix\Iblock\Component\Base->doAction()
	/var/www/clients/client1/web1/web/bitrix/modules/iblock/lib/component/base.php:4588
#21: Bitrix\Iblock\Component\Base->executeComponent()
	/var/www/clients/client1/web1/web/bitrix/modules/main/classes/general/component.php:638
#22: CBitrixComponent->includeComponent(string, array, boolean)
	/var/www/clients/client1/web1/web/bitrix/modules/main/classes/general/main.php:1038
#23: CAllMain->IncludeComponent(string, string, array, boolean)
	/var/www/clients/client1/web1/web/bitrix/components/other/catalogbrands/templates/.default/product.php:131
#24: include(string)
	/var/www/clients/client1/web1/web/bitrix/modules/main/classes/general/component_template.php:725
#25: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/var/www/clients/client1/web1/web/bitrix/modules/main/classes/general/component_template.php:820
#26: CBitrixComponentTemplate->IncludeTemplate(array)
	/var/www/clients/client1/web1/web/bitrix/modules/main/classes/general/component.php:735
#27: CBitrixComponent->showComponentTemplate()
	/var/www/clients/client1/web1/web/bitrix/modules/main/classes/general/component.php:683
#28: CBitrixComponent->includeComponentTemplate(string)
	/var/www/clients/client1/web1/web/bitrix/components/other/catalogbrands/component.php:48
#29: include(string)
	/var/www/clients/client1/web1/web/bitrix/modules/main/classes/general/component.php:594
#30: CBitrixComponent->__includeComponent()
	/var/www/clients/client1/web1/web/bitrix/modules/main/classes/general/component.php:653
#31: CBitrixComponent->includeComponent(string, array, boolean)
	/var/www/clients/client1/web1/web/bitrix/modules/main/classes/general/main.php:1038
#32: CAllMain->IncludeComponent(string, string, array, boolean)
	/var/www/clients/client1/web1/web/product/index.php:17
#33: include_once(string)
	/var/www/clients/client1/web1/web/bitrix/modules/main/include/urlrewrite.php:159
#34: include_once(string)
	/var/www/clients/client1/web1/web/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/clients/client1/web1/web/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /var/www/clients/client1/web1/web/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`highl...', Array, NULL) #1 /var/www/clients/client1/web1/web/bitrix/modules/main/lib/orm/query/query.php(3193): Bitrix\Main\DB\Connection->query('SELECT \n\t`highl...') #2 /var/www/clients/client1/web1/web/bitrix/modules/main/lib/orm/query/query.php(806): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`highl...') #3 /var/www/clients/client1/web1/web/bitrix/modules/main/lib/orm/data/datamanager.php(467): Bitrix\Main\ORM\Query\Query->exec() #4 /var/www/clients/client1/web1/web/bitrix/modules/main/lib/orm/data/datamanager.php(328): Bitrix\Main\ORM\Data\DataManager::getList(Array) #5 /var/www/clients/client1/web1/web/bitrix/modules/main/lib/orm/data/datamanager.php(343): Bitri in /var/www/clients/client1/web1/web/bitrix/modules/main/lib/db/mysqliconnection.php on line 137