[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` >= 1009180
AND `main_file`.`ID` <= 1009189
/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:3304
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:816
#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(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/file.php:664
#6: CAllFile::GetFileArray(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/file.php:1615
#7: CAllFile::ResizeImageGet(string, array, integer, boolean)
	/home/bitrix/www/bitrix/templates/aspro_next/components/bitrix/menu/left_front_catalog/result_modifier.php:17
#8: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:946
#9: CBitrixComponentTemplate->__IncludeMutatorFile(array, array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:853
#10: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:746
#11: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:694
#12: CBitrixComponent->includeComponentTemplate()
	/home/bitrix/www/bitrix/components/bitrix/menu/component.php:386
#13: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:605
#14: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:103
#15: CBitrixComponent->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:649
#16: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#17: CAllMain->IncludeComponent(string, string, array, boolean, array)
	/home/bitrix/www/include/left_block/menu.left_menu.php:18
#18: include(string)
	/home/bitrix/www/bitrix/components/bitrix/main.include/templates/.default/template.php:17
#19: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789
#20: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884
#21: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:746
#22: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:694
#23: CBitrixComponent->includeComponentTemplate()
	/home/bitrix/www/bitrix/components/bitrix/main.include/component.php:280
#24: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:605
#25: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:664
#26: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#27: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/www/bitrix/templates/aspro_next/page_blocks/left_block_1.php:16
#28: include_once(string)
	/home/bitrix/www/bitrix/modules/aspro.next/classes/general/CNext.php:107
#29: CNext::ShowPageType(string)
	/home/bitrix/www/bitrix/templates/aspro_next/footer.php:28
#30: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/epilog_before.php:93
#31: require(string)
	/home/bitrix/www/bitrix/modules/main/include/epilog.php:2
#32: require_once(string)
	/home/bitrix/www/bitrix/footer.php:4
#33: require(string)
	/home/bitrix/www/catalog/index.php:841
#34: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#35: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2