[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`main_site`.`LID` AS `LID`
FROM `b_lang` `main_site` 

/var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/lib/orm/query/query.php:3304
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/lib/orm/query/query.php:816
#3: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/lib/analytics/sitespeed.php:95
#5: Bitrix\Main\Analytics\SiteSpeed::isIntranetSite(string)
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/lib/analytics/counter.php:92
#6: Bitrix\Main\Analytics\Counter::onBeforeEndBufferContent()
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/classes/general/module.php:490
#7: ExecuteModuleEventEx(array, array)
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/classes/general/main.php:3162
#8: CAllMain->EndBufferContent(string)
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/classes/general/main.php:3140
#9: CAllMain->EndBufferContentMan()
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/include/epilog_after.php:36
#10: require(string)
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/include/epilog.php:4
#11: require_once(string)
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/footer.php:4
#12: require(string)
	/var/www/shacman/data/www/krazros.ru/catalog/index.php:285
#13: include_once(string)
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/include/urlrewrite.php:159
#14: include_once(string)
	/var/www/shacman/data/www/shacman-z4.ru/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/lib/db/mysqlcommonconnection.php(140): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT * FROM `...') #1 /var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/lib/db/connection.php(779): Bitrix\Main\DB\MysqlCommonConnection->getTableFields('b_sec_session') #2 /var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/lib/db/sqlhelper.php(406): Bitrix\Main\DB\Connection->getTableField('b_sec_session', 'SESSION_ID') #3 /var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/lib/orm/data/datamanager.php(1624): Bitrix\Main\DB\SqlHelper->prepareAssignment('b_sec_session', 'SESSION_ID', 'UjtF0ExONu5Gud9...') #4 /var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/security/classes/general/session_db.php(92): Bitrix\Main\ORM\Data\DataMa in /var/www/shacman/data/www/shacman-z4.ru/bitrix/modules/main/lib/db/mysqliconnection.php on line 137