[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` >= 175890
AND `main_file`.`ID` <= 175899
/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:3306
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:817
#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, array)
	/home/bitrix/www/local/templates/s1/components/bitrix/catalog/.default/bitrix/catalog.element/.default/result_modifier.php:101
#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/modules/iblock/lib/component/base.php:4561
#13: Bitrix\Iblock\Component\Base->loadData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4540
#14: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:271
#15: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#16: call_user_func(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4725
#17: Bitrix\Iblock\Component\Base->doAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4743
#18: Bitrix\Iblock\Component\Base->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:649
#19: CBitrixComponent->includeComponent(string, array, object)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#20: CAllMain->IncludeComponent(string, string, array, object, array)
	/home/bitrix/www/local/templates/s1/components/bitrix/catalog/.default/element.php:241
#21: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789
#22: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884
#23: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:746
#24: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:694
#25: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/www/bitrix/components/bitrix/catalog/component.php:171
#26: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:605
#27: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:664
#28: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#29: CAllMain->IncludeComponent(string, string, array, boolean, array)
	/home/bitrix/www/catalog/index.php:262
#30: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#31: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2