[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/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/lib/orm/query/query.php:3357
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/lib/orm/query/query.php:825
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/lib/orm/data/datamanager.php:410
#5: Bitrix\Main\ORM\Data\DataManager::getRow(array)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/lib/site.php:26
#6: Bitrix\Main\SiteTable::getDocumentRoot(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/rest/lib/marketplace/url.php:77
#7: Bitrix\Rest\Marketplace\Urls\Templates->getDir()
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/rest/lib/marketplace/url.php:93
#8: Bitrix\Rest\Marketplace\Urls\Templates->getReplacedId(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/rest/lib/marketplace/url.php:125
#9: Bitrix\Rest\Marketplace\Urls\Marketplace->getCategoryUrl(NULL)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/rest/lib/marketplace/url.php:393
#10: Bitrix\Rest\Marketplace\Url::getCategoryUrl()
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/rest/include.php:30
#11: include_once(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/lib/loader.php:177
#12: Bitrix\Main\Loader::includeModuleInternal(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/lib/loader.php:137
#13: Bitrix\Main\Loader::includeModule(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/classes/general/module.php:251
#14: CModule::IncludeModule(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/classes/general/module.php:434
#15: ExecuteModuleEventEx(array)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/include.php:571
#16: require_once(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/include/prolog_before.php:14
#17: require_once(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/include/prolog.php:10
#18: require_once(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/header.php:1
#19: require(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/kormouborochnye-kombayny/index.php:2
#20: include_once(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/modules/main/include/urlrewrite.php:159
#21: include_once(string)
	/home/baitekmachinery/web/baitekmachinery.ru/public_html/bitrix/urlrewrite.php:2