[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 /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/mysqliconnection.php:137 #0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL) /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/connection.php:330 #1: Bitrix\Main\DB\Connection->query(string) /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/orm/query/query.php:3398 #2: Bitrix\Main\ORM\Query\Query->query(string) /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/orm/query/query.php:825 #3: Bitrix\Main\ORM\Query\Query->exec() /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/orm/data/datamanager.php:500 #4: Bitrix\Main\ORM\Data\DataManager::getList(array) /var/www/www-root/data/www/server-expert.com/bitrix/components/dresscode/sale.geo.positiion/component.php:31 #5: include(string) /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:605 #6: CBitrixComponent->__includeComponent() /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/component.php:680 #7: CBitrixComponent->includeComponent(string, array, boolean, boolean) /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/main.php:1041 #8: CAllMain->IncludeComponent(string, string, array, boolean, array) /var/www/www-root/data/www/server-expert.com/bitrix/templates/dresscodeV2_copy/headers/header5/template.php:12 #9: require_once(string) /var/www/www-root/data/www/server-expert.com/bitrix/templates/dresscodeV2_copy/header.php:72 #10: include_once(string) /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include/prolog_after.php:106 #11: require(string) /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include/prolog.php:10 #12: require_once(string) /var/www/www-root/data/www/server-expert.com/bitrix/header.php:1 #13: require(string) /var/www/www-root/data/www/server-expert.com/catalog/index.php:2 #14: include_once(string) /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include/urlrewrite.php:159 #15: include_once(string) /var/www/www-root/data/www/server-expert.com/bitrix/urlrewrite.php:2