[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` >= 10300
AND `main_file`.`ID` <= 10309
/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/orm/query/query.php:3538
#2: Bitrix\Main\ORM\Query\Query->query
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/orm/query/query.php:949
#3: Bitrix\Main\ORM\Query\Query->exec
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/classes/general/file.php:786
#5: CFile::GetFromCache
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/classes/general/file.php:963
#6: CFile::GetFileArray
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/iblock/lib/component/tools.php:96
#7: Bitrix\Iblock\Component\Tools::getFieldImageData
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/iblock/lib/component/base.php:2303
#8: Bitrix\Iblock\Component\Base->modifyElementCommonData
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/iblock/lib/component/base.php:2269
#9: Bitrix\Iblock\Component\Base->processElement
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/components/bitrix/catalog.section/class.php:559
#10: CatalogSectionComponent->processElement
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/iblock/lib/component/elementlist.php:823
#11: Bitrix\Iblock\Component\ElementList->getIblockElements
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/iblock/lib/component/base.php:794
#12: Bitrix\Iblock\Component\Base->initElementList
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/components/bitrix/catalog.section/class.php:580
#13: CatalogSectionComponent->initElementList
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4048
#14: Bitrix\Iblock\Component\Base->processResultData
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/components/bitrix/catalog.section/class.php:92
#15: CatalogSectionComponent->processResultData
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4551
#16: Bitrix\Iblock\Component\Base->loadData
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/iblock/lib/component/elementlist.php:1232
#17: Bitrix\Iblock\Component\ElementList->loadData
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4540
#18: Bitrix\Iblock\Component\Base->initialLoadAction
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/components/bitrix/catalog.section/class.php:334
#19: CatalogSectionComponent->initialLoadAction
	
#20: call_user_func
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4725
#21: Bitrix\Iblock\Component\Base->doAction
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4743
#22: Bitrix\Iblock\Component\Base->executeComponent
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/classes/general/component.php:656
#23: CBitrixComponent->includeComponent
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/classes/general/main.php:1063
#24: CAllMain->IncludeComponent
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/templates/os/components/bitrix/catalog/al/sections.php:361
#25: include(string)
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/classes/general/component_template.php:789
#26: CBitrixComponentTemplate->__IncludePHPTemplate
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/classes/general/component_template.php:884
#27: CBitrixComponentTemplate->IncludeTemplate
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/classes/general/component.php:764
#28: CBitrixComponent->showComponentTemplate
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/classes/general/component.php:712
#29: CBitrixComponent->includeComponentTemplate
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/components/bitrix/catalog/component.php:171
#30: include(string)
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/classes/general/component.php:605
#31: CBitrixComponent->__includeComponent
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/classes/general/component.php:680
#32: CBitrixComponent->includeComponent
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/classes/general/main.php:1063
#33: CAllMain->IncludeComponent
	/home/kanzoptima/web/kanzoptima.ru/public_html/catalog/index.php:279
#34: include_once(string)
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/include/urlrewrite.php:159
#35: include_once(string)
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/urlrewrite.php:2