Каталог товаров

[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT SUM(o.uf_col) as count FROM ostatki o LEFT JOIN sklads sk ON sk.UF_CODE = replace(o.UF_ID_SKLAD,'sklad-','') and sk.UF_VIRTUAL=true WHERE o.uf_id_nom = 'offer-43108' and sk.UF_VIRTUAL=true
/var/www/shintorg/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/shintorg/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/shintorg/local/templates/project/components/bitrix/catalog.element/tyre/result_modifier.php:66
#2: include(string)
	/var/www/shintorg/bitrix/modules/main/classes/general/component_template.php:877
#3: CBitrixComponentTemplate->__IncludeMutatorFile(array, array)
	/var/www/shintorg/bitrix/modules/main/classes/general/component_template.php:784
#4: CBitrixComponentTemplate->IncludeTemplate(array)
	/var/www/shintorg/bitrix/modules/main/classes/general/component.php:735
#5: CBitrixComponent->showComponentTemplate()
	/var/www/shintorg/bitrix/modules/main/classes/general/component.php:683
#6: CBitrixComponent->includeComponentTemplate()
	/var/www/shintorg/bitrix/modules/iblock/lib/component/base.php:4042
#7: Bitrix\Iblock\Component\Base->loadData()
	/var/www/shintorg/bitrix/modules/iblock/lib/component/base.php:4021
#8: Bitrix\Iblock\Component\Base->initialLoadAction()
	/var/www/shintorg/bitrix/modules/iblock/lib/component/element.php:228
#9: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#10: call_user_func(array)
	/var/www/shintorg/bitrix/modules/iblock/lib/component/base.php:4206
#11: Bitrix\Iblock\Component\Base->doAction()
	/var/www/shintorg/bitrix/modules/iblock/lib/component/base.php:4224
#12: Bitrix\Iblock\Component\Base->executeComponent()
	/var/www/shintorg/bitrix/modules/main/classes/general/component.php:638
#13: CBitrixComponent->includeComponent(string, array, object)
	/var/www/shintorg/bitrix/modules/main/classes/general/main.php:1037
#14: CAllMain->IncludeComponent(string, string, array, object)
	/var/www/shintorg/local/templates/project/components/bitrix/catalog/.default/element.php:184
#15: include(string)
	/var/www/shintorg/bitrix/modules/main/classes/general/component_template.php:720
#16: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/var/www/shintorg/bitrix/modules/main/classes/general/component_template.php:815
#17: CBitrixComponentTemplate->IncludeTemplate(array)
	/var/www/shintorg/bitrix/modules/main/classes/general/component.php:735
#18: CBitrixComponent->showComponentTemplate()
	/var/www/shintorg/bitrix/modules/main/classes/general/component.php:683
#19: CBitrixComponent->includeComponentTemplate(string)
	/var/www/shintorg/bitrix/components/bitrix/catalog/component.php:171
#20: include(string)
	/var/www/shintorg/bitrix/modules/main/classes/general/component.php:594
#21: CBitrixComponent->__includeComponent()
	/var/www/shintorg/bitrix/modules/main/classes/general/component.php:653
#22: CBitrixComponent->includeComponent(string, array, boolean)
	/var/www/shintorg/bitrix/modules/main/classes/general/main.php:1037
#23: CAllMain->IncludeComponent(string, string, array, boolean)
	/var/www/shintorg/katalog/index.php:325
#24: include_once(string)
	/var/www/shintorg/bitrix/modules/main/include/urlrewrite.php:159
#25: include_once(string)
	/var/www/shintorg/bitrix/urlrewrite.php:2