[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/digis-shared/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/digis-shared/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/digis-shared/bitrix/modules/main/lib/entity/query.php:3038
#2: Bitrix\Main\Entity\Query->query(string)
	/home/bitrix/digis-shared/bitrix/modules/main/lib/entity/query.php:797
#3: Bitrix\Main\Entity\Query->exec()
	/home/bitrix/digis-shared/bitrix/modules/main/lib/entity/datamanager.php:290
#4: Bitrix\Main\Entity\DataManager::getList(array)
	/home/bitrix/digis-shared/bitrix/modules/main/lib/entity/datamanager.php:200
#5: Bitrix\Main\Entity\DataManager::getRow(array)
	/home/bitrix/digis-shared/bitrix/modules/main/lib/urlrewriter.php:14
#6: Bitrix\Main\UrlRewriter::loadRules(string)
	/home/bitrix/digis-shared/bitrix/modules/main/lib/urlrewriter.php:57
#7: Bitrix\Main\UrlRewriter::getList(string, array)
	/home/bitrix/digis-shared/bitrix/modules/main/classes/general/component_ajax.php:210
#8: CComponentAjax->__GetSEFRealUrl(string)
	/home/bitrix/digis-shared/bitrix/modules/main/classes/general/component_ajax.php:242
#9: CComponentAjax->__isAjaxURL(string)
	/home/bitrix/digis-shared/bitrix/modules/main/classes/general/component_ajax.php:376
#10: CComponentAjax->__PrepareLinks(string)
	/home/bitrix/digis-shared/bitrix/modules/main/classes/general/component_ajax.php:615
#11: CComponentAjax->_PrepareData()
	/home/bitrix/digis-shared/bitrix/modules/main/classes/general/main.php:3179
#12: CAllMain->EndBufferContent(string)
	/home/bitrix/digis-shared/bitrix/modules/main/classes/general/main.php:3138
#13: CAllMain->EndBufferContentMan()
	/home/bitrix/digis-shared/bitrix/modules/main/include/epilog_after.php:36
#14: require(string)
	/home/bitrix/digis-shared/bitrix/modules/main/include/epilog.php:3
#15: require_once(string)
	/home/bitrix/digis-shared/bitrix/footer.php:4
#16: require(string)
	/home/bitrix/ext_www/digis.ru/distribution/index.php:411
#17: include_once(string)
	/home/bitrix/digis-shared/bitrix/modules/main/include/urlrewrite.php:159
#18: include_once(string)
	/home/bitrix/digis-shared/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/bitrix/digis-shared/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/bitrix/digis-shared/bitrix/modules/main/lib/db/mysqlcommonconnection.php(132): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT * FROM `...') #1 /home/bitrix/digis-shared/bitrix/modules/main/lib/db/connection.php(716): Bitrix\Main\DB\MysqlCommonConnection->getTableFields('b_sec_session') #2 /home/bitrix/digis-shared/bitrix/modules/main/lib/db/sqlhelper.php(387): Bitrix\Main\DB\Connection->getTableField('b_sec_session', 'SESSION_ID') #3 /home/bitrix/digis-shared/bitrix/modules/main/lib/entity/datamanager.php(974): Bitrix\Main\DB\SqlHelper->prepareAssignment('b_sec_session', 'SESSION_ID', 'apiZwGpHrwCnoxe...') #4 /home/bitrix/digis-shared/bitrix/modules/security/classes/general/session_db.php(92): Bitrix\Main\Entity\DataManager::delete(Array) #5 [internal function]: CSecuritySessionDB::write('apiZwGpHrwCnoxe.. in /home/bitrix/digis-shared/bitrix/modules/main/lib/db/mysqliconnection.php on line 137