[Bitrix\Main\DB\SqlQueryException] 
    Mysql query error: (2006) MySQL server has gone away (400)
    SELECT 
    	`sale_location_default_site_location`.`CODE` AS `CODE`,
    	`sale_location_default_site_location`.`ID` AS `ID`,
    	`sale_location_default_site_location`.`PARENT_ID` AS `PARENT_ID`,
    	`sale_location_default_site_location`.`TYPE_ID` AS `TYPE_ID`,
    	`sale_location_default_site_location`.`LATITUDE` AS `LATITUDE`,
    	`sale_location_default_site_location`.`LONGITUDE` AS `LONGITUDE`,
    	`sale_location_default_site_location_name`.`NAME` AS `NAME`,
    	`sale_location_default_site_location_name`.`SHORT_NAME` AS `SHORT_NAME`,
    	`sale_location_default_site_location`.`LEFT_MARGIN` AS `LEFT_MARGIN`,
    	`sale_location_default_site_location`.`RIGHT_MARGIN` AS `RIGHT_MARGIN`,
    	`sale_location_default_site`.`LOCATION_CODE` AS `UALIAS_0`,
    	`sale_location_default_site`.`SITE_ID` AS `UALIAS_1`,
    	`sale_location_default_site_location_name`.`ID` AS `UALIAS_2`
    FROM `b_sale_loc_def2site` `sale_location_default_site` 
    LEFT JOIN `b_sale_location` `sale_location_default_site_location` ON `sale_location_default_site`.`LOCATION_CODE` = `sale_location_default_site_location`.`CODE`
    INNER JOIN `b_sale_loc_name` `sale_location_default_site_location_name` ON `sale_location_default_site_location`.`ID` = `sale_location_default_site_location_name`.`LOCATION_ID`
    WHERE UPPER(`sale_location_default_site`.`SITE_ID`) like upper('s1')
    AND UPPER(`sale_location_default_site_location_name`.`LANGUAGE_ID`) like upper('ru')
    ORDER BY `sale_location_default_site`.`SORT` ASC
    /home/bitrix/ext_www/milpitas.by/bitrix/modules/main/lib/db/mysqliconnection.php:137
    #0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
    	/home/bitrix/ext_www/milpitas.by/bitrix/modules/main/lib/db/connection.php:330
    #1: Bitrix\Main\DB\Connection->query(string)
    	/home/bitrix/ext_www/milpitas.by/bitrix/modules/main/lib/orm/query/query.php:3306
    #2: Bitrix\Main\ORM\Query\Query->query(string)
    	/home/bitrix/ext_www/milpitas.by/bitrix/modules/main/lib/orm/query/query.php:817
    #3: Bitrix\Main\ORM\Query\Query->exec()
    	/home/bitrix/ext_www/milpitas.by/bitrix/modules/main/lib/orm/data/datamanager.php:500
    #4: Bitrix\Main\ORM\Data\DataManager::getList(array)
    	/home/bitrix/ext_www/milpitas.by/bitrix/components/dresscode/sale.geo.positiion/component.php:30
    #5: include(string)
    	/home/bitrix/ext_www/milpitas.by/bitrix/modules/main/classes/general/component.php:605
    #6: CBitrixComponent->__includeComponent()
    	/home/bitrix/ext_www/milpitas.by/bitrix/modules/main/classes/general/component.php:664
    #7: CBitrixComponent->includeComponent(string, array, boolean)
    	/home/bitrix/ext_www/milpitas.by/bitrix/modules/main/classes/general/main.php:1039
    #8: CAllMain->IncludeComponent(string, string, array, boolean, array)
    	/home/bitrix/ext_www/milpitas.by/bitrix/templates/dresscodeV2/headers/header1/template.php:45
    #9: require_once(string)
    	/home/bitrix/ext_www/milpitas.by/bitrix/templates/dresscodeV2/header.php:75
    #10: include_once(string)
    	/home/bitrix/ext_www/milpitas.by/bitrix/modules/main/include/prolog_after.php:106
    #11: require(string)
    	/home/bitrix/ext_www/milpitas.by/bitrix/modules/main/include/prolog.php:11
    #12: require_once(string)
    	/home/bitrix/ext_www/milpitas.by/bitrix/header.php:1
    #13: require(string)
    	/home/bitrix/ext_www/milpitas.by/catalog/index.php:2
    #14: include_once(string)
    	/home/bitrix/ext_www/milpitas.by/bitrix/modules/main/include/urlrewrite.php:159
    #15: include_once(string)
    	/home/bitrix/ext_www/milpitas.by/bitrix/urlrewrite.php:2