[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` >= 12755980
AND `main_file`.`ID` <= 12755989
/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/lib/orm/query/query.php:3209
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/lib/orm/query/query.php:807
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/file.php:492
#5: CAllFile::GetFromCache(string)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/file.php:664
#6: CAllFile::GetFileArray(string)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/file.php:1615
#7: CAllFile::ResizeImageGet(string, array, integer, boolean)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/sotbit.origami/lib/image/base.php:443
#8: Sotbit\Origami\Image\Base->resize(string, array, string)
	/home/bitrix/ext_www/b2b-service.kz/local/templates/.default/components/bitrix/menu/origami_filter/result_modifier.php:87
#9: include(string)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/component_template.php:882
#10: CBitrixComponentTemplate->__IncludeMutatorFile(array, array)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/component_template.php:789
#11: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/component.php:745
#12: CBitrixComponent->showComponentTemplate()
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/component.php:693
#13: CBitrixComponent->includeComponentTemplate()
	/home/bitrix/ext_www/b2b-service.kz/bitrix/components/bitrix/menu/component.php:386
#14: include(string)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/component.php:604
#15: CBitrixComponent->__includeComponent()
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/component.php:103
#16: CBitrixComponent->executeComponent()
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/component.php:648
#17: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/main.php:1039
#18: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/ext_www/b2b-service.kz/local/templates/b2b_service_origami/components/bitrix/catalog/sotbit_origami_catalog/section_vertical.php:65
#19: include(string)
	/home/bitrix/ext_www/b2b-service.kz/local/templates/b2b_service_origami/components/bitrix/catalog/sotbit_origami_catalog/section.php:543
#20: include(string)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/component_template.php:725
#21: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/component_template.php:820
#22: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/component.php:745
#23: CBitrixComponent->showComponentTemplate()
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/component.php:693
#24: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/components/bitrix/catalog/component.php:171
#25: include(string)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/component.php:604
#26: CBitrixComponent->__includeComponent()
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/component.php:663
#27: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/classes/general/main.php:1039
#28: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/ext_www/b2b-service.kz/catalog/index.php:571
#29: include_once(string)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/include/urlrewrite.php:159
#30: include_once(string)
	/home/bitrix/ext_www/b2b-service.kz/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`sotbi...', Array, NULL) #1 /home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/lib/orm/query/query.php(3209): Bitrix\Main\DB\Connection->query('SELECT \n\t`sotbi...') #2 /home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/lib/orm/query/query.php(807): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`sotbi...') #3 /home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/lib/orm/data/datamanager.php(500): Bitrix\Main\ORM\Query\Query->exec() #4 /home/bitrix/ext_www/b2b-service.kz/bitrix/modules/sotbit.opengraph/classes/opengraph_core.php(54): Bitrix\Main\ORM\Data\DataManager::getList(Array) #5 /home/bitrix/ext_www/b2b-service.kz/bitrix/modules/sotbit.opengraph/class in /home/bitrix/ext_www/b2b-service.kz/bitrix/modules/main/lib/db/mysqliconnection.php on line 137