[Bitrix\Main\DB\SqlQueryException] Mysql query error: (2006) MySQL server has gone away (400) SELECT `sale_location_type`.`ID` AS `ID`, `sale_location_type`.`CODE` AS `CODE`, `sale_location_type`.`SORT` AS `SORT`, `sale_location_type`.`DISPLAY_SORT` AS `DISPLAY_SORT` FROM `b_sale_loc_type` `sale_location_type` /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:153 #0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL) /home/bitrix/www/bitrix/modules/main/lib/db/connection.php:327 #1: Bitrix\Main\DB\Connection->query(string) /home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:3537 #2: Bitrix\Main\ORM\Query\Query->query(string) /home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:952 #3: Bitrix\Main\ORM\Query\Query->exec() /home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php:513 #4: Bitrix\Main\ORM\Data\DataManager::getList() /home/bitrix/www/bitrix/modules/sale/general/location.php:374 #5: CAllSaleLocation::getTypes() /home/bitrix/www/bitrix/modules/sale/general/location.php:1943 #6: CAllSaleLocation::getFilterForGetList(array) /home/bitrix/www/bitrix/modules/sale/mysql/location.php:33 #7: CSaleLocation::GetList(array, array, boolean, boolean, array) /home/bitrix/www/bitrix/components/ma/location/component.php:26 #8: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:607 #9: CBitrixComponent->__includeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:684 #10: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1072 #11: CAllMain->IncludeComponent(string, string, array, boolean) /home/bitrix/www/bitrix/templates/template.main/include/header-location.php:9 #12: include(string) /home/bitrix/www/bitrix/templates/template.main/header.php:114 #13: include_once(string) /home/bitrix/www/bitrix/modules/main/include/prolog_after.php:110 #14: require(string) /home/bitrix/www/bitrix/modules/main/include/prolog.php:11 #15: require_once(string) /home/bitrix/www/bitrix/header.php:1 #16: require(string) /home/bitrix/www/404.php:7 #17: include_once(string) /home/bitrix/www/bitrix/urlrewrite.php:4 ----------