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