[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/templates/dapsite/header.php:25
#8: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_after.php:110
#9: require(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:11
#10: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#11: require(string)
	/home/bitrix/www/brand/index.php:2
#12: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:184
#13: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2
----------