[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 UPPER(`main_site`.`LID`) like upper('s1')
LIMIT 0, 1

/home/u15118/inis.ru/www/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/u15118/inis.ru/www/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/u15118/inis.ru/www/bitrix/modules/main/lib/orm/query/query.php:3538
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/u15118/inis.ru/www/bitrix/modules/main/lib/orm/query/query.php:949
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/u15118/inis.ru/www/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/u15118/inis.ru/www/bitrix/modules/main/lib/orm/data/datamanager.php:410
#5: Bitrix\Main\ORM\Data\DataManager::getRow(array)
	/home/u15118/inis.ru/www/bitrix/modules/main/lib/site.php:26
#6: Bitrix\Main\SiteTable::getDocumentRoot(string)
	/home/u15118/inis.ru/www/bitrix/modules/rest/lib/marketplace/url.php:77
#7: Bitrix\Rest\Marketplace\Urls\Templates->getDir()
	/home/u15118/inis.ru/www/bitrix/modules/rest/lib/marketplace/url.php:93
#8: Bitrix\Rest\Marketplace\Urls\Templates->getReplacedId(string)
	/home/u15118/inis.ru/www/bitrix/modules/rest/lib/marketplace/url.php:125
#9: Bitrix\Rest\Marketplace\Urls\Marketplace->getCategoryUrl(NULL)
	/home/u15118/inis.ru/www/bitrix/modules/rest/lib/marketplace/url.php:393
#10: Bitrix\Rest\Marketplace\Url::getCategoryUrl()
	/home/u15118/inis.ru/www/bitrix/modules/rest/include.php:30
#11: include_once(string)
	/home/u15118/inis.ru/www/bitrix/modules/main/lib/loader.php:184
#12: Bitrix\Main\Loader::includeModuleInternal(string)
	/home/u15118/inis.ru/www/bitrix/modules/main/lib/loader.php:140
#13: Bitrix\Main\Loader::includeModule(string)
	/home/u15118/inis.ru/www/bitrix/modules/main/classes/general/module.php:251
#14: CModule::IncludeModule(string)
	/home/u15118/inis.ru/www/bitrix/modules/main/classes/general/module.php:434
#15: ExecuteModuleEventEx(array)
	/home/u15118/inis.ru/www/bitrix/modules/main/include.php:475
#16: require_once(string)
	/home/u15118/inis.ru/www/bitrix/modules/main/include/prolog_before.php:14
#17: require_once(string)
	/home/u15118/inis.ru/www/bitrix/modules/main/include/prolog.php:10
#18: require_once(string)
	/home/u15118/inis.ru/www/bitrix/header.php:1
#19: require(string)
	/home/u15118/inis.ru/www/sitemap/index.php:2