[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`main_site`.`LID` AS `LID`,
	`main_site`.`SORT` AS `SORT`,
	`main_site`.`DEF` AS `DEF`,
	`main_site`.`ACTIVE` AS `ACTIVE`,
	`main_site`.`NAME` AS `NAME`,
	`main_site`.`DIR` AS `DIR`,
	`main_site`.`LANGUAGE_ID` AS `LANGUAGE_ID`,
	`main_site`.`DOC_ROOT` AS `DOC_ROOT`,
	`main_site`.`DOMAIN_LIMITED` AS `DOMAIN_LIMITED`,
	`main_site`.`SERVER_NAME` AS `SERVER_NAME`,
	`main_site`.`SITE_NAME` AS `SITE_NAME`,
	`main_site`.`EMAIL` AS `EMAIL`,
	`main_site`.`CULTURE_ID` AS `CULTURE_ID`
FROM `b_lang` `main_site` 

WHERE `main_site`.`LID` = 's1'
LIMIT 0, 1

/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/lib/orm/query/query.php:3193
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/lib/orm/data/datamanager.php:467
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/lib/orm/data/datamanager.php:377
#5: Bitrix\Main\ORM\Data\DataManager::getRow(array)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/lib/urlrewriter.php:14
#6: Bitrix\Main\UrlRewriter::loadRules(string)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/lib/urlrewriter.php:57
#7: Bitrix\Main\UrlRewriter::getList(string, array)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/classes/general/component_ajax.php:210
#8: CComponentAjax->__GetSEFRealUrl(string)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/classes/general/component_ajax.php:242
#9: CComponentAjax->__isAjaxURL(string)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/classes/general/component_ajax.php:376
#10: CComponentAjax->__PrepareLinks(string)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/classes/general/component_ajax.php:615
#11: CComponentAjax->_PrepareData()
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/classes/general/main.php:3180
#12: CAllMain->EndBufferContent(string)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/classes/general/main.php:3139
#13: CAllMain->EndBufferContentMan()
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/include/epilog_after.php:36
#14: require(string)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/include/epilog.php:3
#15: require_once(string)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/footer.php:4
#16: require(string)
	/home/bitrix/ext_www/new.glav-snab.com/catalog/index.php:234
#17: include_once(string)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/modules/main/include/urlrewrite.php:159
#18: include_once(string)
	/home/bitrix/ext_www/new.glav-snab.com/bitrix/urlrewrite.php:2