[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`sale_location_location_name`.`NAME` AS `SALE_LOCATION_LOCATION_NAME_NAME`,
	`sale_location_location`.`CITY_ID` AS `CITY_ID`,
	`sale_location_location`.`REGION_ID` AS `REGION_ID`,
	`sale_location_location_external`.`ID` AS `SALE_LOCATION_LOCATION_EXTERNAL_ID`,
	`sale_location_location_external`.`SERVICE_ID` AS `SALE_LOCATION_LOCATION_EXTERNAL_SERVICE_ID`,
	`sale_location_location_external`.`XML_ID` AS `SALE_LOCATION_LOCATION_EXTERNAL_XML_ID`,
	`sale_location_location_external`.`LOCATION_ID` AS `SALE_LOCATION_LOCATION_EXTERNAL_LOCATION_ID`,
	`sale_location_location`.`CODE` AS `CODE`,
	`sale_location_location`.`ID` AS `ID`
FROM `b_sale_location` `sale_location_location` 
INNER JOIN `b_sale_loc_name` `sale_location_location_name` ON `sale_location_location`.`ID` = `sale_location_location_name`.`LOCATION_ID`
LEFT JOIN `b_sale_loc_ext` `sale_location_location_external` ON `sale_location_location`.`ID` = `sale_location_location_external`.`LOCATION_ID`
LEFT JOIN `b_sale_loc_ext_srv` `sale_location_location_external_service` ON `sale_location_location_external`.`SERVICE_ID` = `sale_location_location_external_service`.`ID`
WHERE `sale_location_location_name`.`LANGUAGE_ID` = 'ru'
AND `sale_location_location`.`ID` = 178
AND UPPER(`sale_location_location_external_service`.`CODE`) like upper('PRICE_XML_ID')
/usr/local/www/shared/posi/static_files/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/usr/local/www/shared/posi/static_files/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/usr/local/www/shared/posi/static_files/bitrix/modules/main/lib/orm/query/query.php:3193
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/usr/local/www/shared/posi/static_files/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
	/usr/local/www/shared/posi/static_files/bitrix/modules/main/lib/orm/data/datamanager.php:467
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/usr/local/www/positronica.ru/local/php_interface/positronica/class/PositronicaUser.php:378
#5: PositronicaUser::getVarsForId(string)
	/usr/local/www/positronica.ru/local/php_interface/positronica/class/PositronicaUser.php:449
#6: PositronicaUser::recursiveFindCorrectSettings(string, array)
	/usr/local/www/positronica.ru/local/php_interface/positronica/class/PositronicaUser.php:467
#7: PositronicaUser::recursiveFindCorrectSettings(string)
	/usr/local/www/positronica.ru/local/php_interface/positronica/class/PositronicaUser.php:487
#8: PositronicaUser::setLocationByID(string, string, boolean, array)
	/usr/local/www/positronica.ru/local/php_interface/positronica/class/PositronicaUser.php:250
#9: PositronicaUser::controller()
	/usr/local/www/shared/posi/static_files/bitrix/modules/main/classes/general/module.php:475
#10: ExecuteModuleEventEx(array)
	/usr/local/www/shared/posi/static_files/bitrix/modules/main/include.php:572
#11: require_once(string)
	/usr/local/www/shared/posi/static_files/bitrix/modules/main/include/prolog_before.php:14
#12: require_once(string)
	/usr/local/www/shared/posi/static_files/bitrix/modules/main/include/prolog.php:10
#13: require_once(string)
	/usr/local/www/shared/posi/static_files/bitrix/header.php:1
#14: require(string)
	/usr/local/www/positronica.ru/catalog/list.php:2
#15: include_once(string)
	/usr/local/www/shared/posi/static_files/bitrix/modules/main/include/urlrewrite.php:159
#16: include_once(string)
	/usr/local/www/shared/posi/static_files/bitrix/urlrewrite.php:2