[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` >= 393090 AND `main_file`.`ID` <= 393099 /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(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) /home/bitrix/www/bitrix/modules/nextype.magnet/classes/general/csolution.php:605 #8: Nextype\Magnet\CSolution::getSiteLogo() /home/bitrix/ext_www/s2/include/logo.php:2 #9: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1361 #10: CAllMain->IncludeFile(string) /home/bitrix/www/bitrix/templates/magnet_s2/components/bitrix/catalog.element/main/fixed_header.php:5 #11: include(string) /home/bitrix/www/bitrix/templates/magnet_s2/components/bitrix/catalog.element/main/template.php:160 #12: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789 #13: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884 #14: CBitrixComponentTemplate->IncludeTemplate(array) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:764 #15: CBitrixComponent->showComponentTemplate() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:712 #16: CBitrixComponent->includeComponentTemplate() /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4561 #17: Bitrix\Iblock\Component\Base->loadData() /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4540 #18: Bitrix\Iblock\Component\Base->initialLoadAction() /home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:271 #19: Bitrix\Iblock\Component\Element->initialLoadAction() #20: call_user_func(array) /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4725 #21: Bitrix\Iblock\Component\Base->doAction() /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4743 #22: Bitrix\Iblock\Component\Base->executeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:656 #23: CBitrixComponent->includeComponent(string, array, object, boolean) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039 #24: CAllMain->IncludeComponent(string, string, array, object) /home/bitrix/www/bitrix/templates/magnet_s2/components/bitrix/catalog/main/element.php:235 #25: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789 #26: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884 #27: CBitrixComponentTemplate->IncludeTemplate(array) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:764 #28: CBitrixComponent->showComponentTemplate() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:712 #29: CBitrixComponent->includeComponentTemplate(string) /home/bitrix/www/bitrix/components/bitrix/catalog/component.php:171 #30: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:605 #31: CBitrixComponent->__includeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:680 #32: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039 #33: CAllMain->IncludeComponent(string, string, array, boolean) /home/bitrix/ext_www/s2/index.php:782 #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