[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`sale_location_location`.`ID` AS `ID`,
	`sale_location_location`.`CODE` AS `CODE`
FROM `b_sale_location` `sale_location_location` 

WHERE `sale_location_location`.`ID` = 2416
/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:329
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/entity/query.php:1767
#2: Bitrix\Main\Entity\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/entity/query.php:454
#3: Bitrix\Main\Entity\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/entity/datamanager.php:242
#4: Bitrix\Main\Entity\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/sale/general/location.php:259
#5: CAllSaleLocation::getLocationCODEbyID(string)
	/home/bitrix/www/bitrix/modules/aristov.vregions/lib/eventhandlers/cvregionsonpageload.php:428
#6: Aristov\Vregions\EventHandlers\CvRegionsOnPageLoad::setVregionsImLocation()
	/home/bitrix/www/bitrix/modules/aristov.vregions/lib/eventhandlers/cvregionsonpageload.php:54
#7: Aristov\Vregions\EventHandlers\CvRegionsOnPageLoad::vRegionsMainHandler()
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:490
#8: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:3537
#9: CAllMain::PrologActions()
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:15
#10: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:12
#11: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#12: require(string)
	/home/bitrix/www/catalog/index.php:2
#13: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:163
#14: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2