[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`main_file`.`ID` AS `ID`,
	`main_file`.`TIMESTAMP_X` AS `TIMESTAMP_X`,
	`main_file`.`MODULE_ID` AS `MODULE_ID`,
	`main_file`.`HEIGHT` AS `HEIGHT`,
	`main_file`.`WIDTH` AS `WIDTH`,
	`main_file`.`FILE_SIZE` AS `FILE_SIZE`,
	`main_file`.`CONTENT_TYPE` AS `CONTENT_TYPE`,
	`main_file`.`SUBDIR` AS `SUBDIR`,
	`main_file`.`FILE_NAME` AS `FILE_NAME`,
	`main_file`.`ORIGINAL_NAME` AS `ORIGINAL_NAME`,
	`main_file`.`DESCRIPTION` AS `DESCRIPTION`,
	`main_file`.`HANDLER_ID` AS `HANDLER_ID`,
	`main_file`.`EXTERNAL_ID` AS `EXTERNAL_ID`
FROM `b_file` `main_file` 

WHERE `main_file`.`ID` >= 60250
AND `main_file`.`ID` <= 60259
/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:3357
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:825
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/file.php:492
#5: CAllFile::GetFromCache(integer)
	/home/bitrix/www/bitrix/modules/main/classes/general/file.php:664
#6: CAllFile::GetFileArray(integer)
	/home/bitrix/www/bitrix/modules/main/classes/general/file.php:1167
#7: CAllFile::_GetImgParams(integer)
	/home/bitrix/www/bitrix/modules/main/classes/general/file.php:1228
#8: CAllFile::GetPath(integer)
	/home/bitrix/www/bitrix/modules/aspro.max/classes/general/CMax.php:763
#9: CMax::GetBackParametrsValues(string, boolean, string)
	/home/bitrix/www/bitrix/modules/aspro.max/classes/general/CMax.php:810
#10: CMax::GetFrontParametrsValues(string)
	/home/bitrix/www/bitrix/modules/aspro.max/classes/general/CMax.php:826
#11: CMax::GetFrontParametrValue(string)
	/home/bitrix/www/bitrix/modules/aspro.max/classes/general/CMaxRegionality.php:23
#12: CMaxRegionality::checkUseRegionality()
	/home/bitrix/www/bitrix/modules/aspro.max/classes/general/CMaxRegionality.php:95
#13: CMaxRegionality::getRegions()
	/home/bitrix/www/bitrix/modules/aspro.max/classes/general/CMaxRegionality.php:324
#14: CMaxRegionality::getCurrentRegion()
	/home/bitrix/www/bitrix/modules/aspro.max/classes/general/CMaxEvents.php:1645
#15: CMaxEvents::OnPageStartHandler()
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:480
#16: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/include.php:291
#17: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#18: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#19: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#20: require(string)
	/home/bitrix/ext_www/356673-cs80226.tmweb.ru/catalog/index.php:1
#21: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#22: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2