[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

/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/lib/orm/query/query.php:3304
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/lib/orm/query/query.php:816
#3: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/lib/orm/data/datamanager.php:410
#5: Bitrix\Main\ORM\Data\DataManager::getRow(array)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/lib/site.php:26
#6: Bitrix\Main\SiteTable::getDocumentRoot(string)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/rest/lib/marketplace/url.php:48
#7: Bitrix\Rest\Marketplace\Urls\Templates->getDir()
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/rest/lib/marketplace/url.php:64
#8: Bitrix\Rest\Marketplace\Urls\Templates->getReplacedId(string)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/rest/lib/marketplace/url.php:95
#9: Bitrix\Rest\Marketplace\Urls\Marketplace->getCategoryUrl(NULL)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/rest/lib/marketplace/url.php:307
#10: Bitrix\Rest\Marketplace\Url::getCategoryUrl()
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/rest/include.php:43
#11: include_once(string)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/lib/loader.php:143
#12: Bitrix\Main\Loader::includeModuleInternal(string)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/lib/loader.php:110
#13: Bitrix\Main\Loader::includeModule(string)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/classes/general/module.php:261
#14: CModule::IncludeModule(string)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/classes/general/module.php:444
#15: ExecuteModuleEventEx(array)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/include.php:577
#16: require_once(string)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/include/prolog_before.php:14
#17: require_once(string)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/modules/main/include/prolog.php:10
#18: require_once(string)
	/var/www/www-root/data/www/new.us-parts.ru/bitrix/header.php:1
#19: require(string)
	/var/www/www-root/data/www/new.us-parts.ru/part/index.php:1