[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`sotbit_regions_internals_locations`.`REGION_ID` AS `REGION_ID`,
	`sotbit_regions_internals_locations`.`LOCATION_ID` AS `LOCATION_ID`,
	`sotbit_regions_internals_locations`.`ID` AS `UALIAS_0`,
	`sotbit_regions_internals_locations_region`.`ID` AS `UALIAS_1`
FROM `sotbit_regions_locations` `sotbit_regions_internals_locations` 
INNER JOIN `sotbit_regions` `sotbit_regions_internals_locations_region` ON `sotbit_regions_internals_locations`.`REGION_ID` = `sotbit_regions_internals_locations_region`.`ID`
WHERE `sotbit_regions_internals_locations`.`REGION_ID` = 43
AND UPPER(`sotbit_regions_internals_locations_region`.`SITE_ID`) like '%S1%' ESCAPE '!'
/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:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:3357
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:825
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/sotbit.regions/lib/region.php:103
#5: Sotbit\Regions\Region->setSomeLocation(array)
	/home/bitrix/www/bitrix/modules/sotbit.regions/lib/region.php:63
#6: Sotbit\Regions\Region->findRegion()
	/home/bitrix/www/bitrix/modules/sotbit.regions/lib/location/domain.php:248
#7: Sotbit\Regions\Location\Domain::getCurrentLocation()
	/home/bitrix/www/bitrix/modules/sotbit.regions/lib/location/domain.php:153
#8: Sotbit\Regions\Location\Domain::setLocation()
	/home/bitrix/www/bitrix/modules/sotbit.regions/lib/location/domain.php:46
#9: Sotbit\Regions\Location\Domain->__construct()
	/home/bitrix/www/bitrix/modules/sotbit.regions/lib/location/eventhandlers.php:124
#10: Sotbit\Regions\Location\EventHandlers::OnEndBufferContentHandler(string)
	/home/bitrix/www/bitrix/modules/sotbit.regions/lib/eventhandlers.php:62
#11: Sotbit\Regions\EventHandlers::OnEndBufferContentHandler(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:480
#12: ExecuteModuleEventEx(array, array)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:3195
#13: CAllMain->EndBufferContent(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:3143
#14: CAllMain->EndBufferContentMan()
	/home/bitrix/www/bitrix/modules/main/include/epilog_after.php:39
#15: require(string)
	/home/bitrix/www/bitrix/modules/main/include/epilog.php:3
#16: require_once(string)
	/home/bitrix/www/bitrix/footer.php:4
#17: require(string)
	/home/bitrix/www/catalog/index.php:244
#18: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#19: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2