Fatal error: Out of memory (allocated 37748736 bytes) (tried to allocate 4096 bytes) in /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/classes/general/iblock.php on line 3228

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/db/mysqlcommonconnection.php:415 Stack trace: #0 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/db/mysqliconnection.php(149): Bitrix\Main\DB\MysqlCommonConnection->createQueryException(2006, '(2006) MySQL se...', 'SELECT \n\t`main_...') #1 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/db/connection.php(324): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`main_...', Array, NULL) #2 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/orm/query/query.php(3601): Bitrix\Main\DB\Connection->query('SELECT \n\t`main_...') #3 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/orm/query/query.php(972): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`main_...') #4 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/orm/data/datamanager.php(499): Bitrix\Main\ORM\Query\Query->exec() #5 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/analytics/sitespeed.php(88): Bitrix\Main\ORM\Data\DataManager::getList(Array) #6 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/analytics/counter.php(107): Bitrix\Main\Analytics\SiteSpeed::isIntranetSite('a1') #7 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/tools.php(5253): Bitrix\Main\Analytics\Counter::onBeforeEndBufferContent() #8 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/main.php(3363): ExecuteModuleEventEx(Array) #9 [internal function]: CAllMain->EndBufferContent('<font color="#F...', 11) #10 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/classes/general/iblock.php(3228): str_replace(Array, Array, '/catalog/#SECTI...') #11 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/classes/general/iblockresult.php(406): CAllIBlock::ReplaceDetailUrl('/catalog/#SECTI...', Array, true, 'E') #12 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/element.php(683): CIBlockResult->GetNext() #13 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/base.php(851): Bitrix\Iblock\Component\Element->modifyDisplayProperties(13, Array) #14 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/base.php(4171): Bitrix\Iblock\Component\Base->initElementList() #15 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/element.php(298): Bitrix\Iblock\Component\Base->processResultData() #16 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/base.php(4707): Bitrix\Iblock\Component\Element->processResultData() #17 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/base.php(4696): Bitrix\Iblock\Component\Base->loadData() #18 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/element.php(283): Bitrix\Iblock\Component\Base->initialLoadAction() #19 [internal function]: Bitrix\Iblock\Component\Element->initialLoadAction() #20 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/base.php(4884): call_user_func(Array) #21 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/base.php(4902): Bitrix\Iblock\Component\Base->doAction() #22 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component.php(668): Bitrix\Iblock\Component\Base->executeComponent() #23 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/main.php(1188): CBitrixComponent->includeComponent('bootstrap_v4', Array, Object(CBitrixComponent), false) #24 /var/www/www-root/data/www/armatyres.ru/local/templates/armatyres/components/bitrix/catalog/main/element.php(220): CAllMain->IncludeComponent('bitrix:catalog....', 'bootstrap_v4', Array, Object(CBitrixComponent)) #25 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component_template.php(790): include('/var/www/www-ro...') #26 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component_template.php(885): CBitrixComponentTemplate->__IncludePHPTemplate(Array, Array, '') #27 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component.php(784): CBitrixComponentTemplate->IncludeTemplate(Array) #28 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component.php(724): CBitrixComponent->showComponentTemplate() #29 /var/www/www-root/data/www/armatyres.ru/bitrix/components/bitrix/catalog/component.php(330): CBitrixComponent->includeComponentTemplate('element') #30 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component.php(615): include('/var/www/www-ro...') #31 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component.php(692): CBitrixComponent->__includeComponent() #32 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/main.php(1188): CBitrixComponent->includeComponent('main', Array, false, false) #33 /var/www/www-root/data/www/armatyres.ru/kardan/index.php(11): CAllMain->IncludeComponent('bitrix:catalog', 'main', Array, false) #34 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/include/urlrewrite.php(128): include_once('/var/www/www-ro...') #35 /var/www/www-root/data/www/armatyres.ru/bitrix/urlrewrite.php(2): include_once('/var/www/www-ro...') #36 {main} thrown in /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/db/mysqlcommonconnection.php on line 415
[ErrorException] E_ERROR
Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/db/mysqlcommonconnection.php:415
Stack trace:
#0 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/db/mysqliconnection.php(149): Bitrix\Main\DB\MysqlCommonConnection->createQueryException(2006, '(2006) MySQL se...', 'SELECT \n\t`main_...')
#1 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/db/connection.php(324): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`main_...', Array, NULL)
#2 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/orm/query/query.php(3601): Bitrix\Main\DB\Connection->query('SELECT \n\t`main_...')
#3 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/orm/query/query.php(972): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`main_...')
#4 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/orm/data/datamanager.php(499): Bitrix\Main\ORM\Query\Query->exec()
#5 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/analytics/sitespeed.php(88): Bitrix\Main\ORM\Data\DataManager::getList(Array)
#6 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/analytics/counter.php(107): Bitrix\Main\Analytics\SiteSpeed::isIntranetSite('a1')
#7 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/tools.php(5253): Bitrix\Main\Analytics\Counter::onBeforeEndBufferContent()
#8 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/main.php(3363): ExecuteModuleEventEx(Array)
#9 [internal function]: CAllMain->EndBufferContent('<font color="#F...', 11)
#10 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/classes/general/iblock.php(3228): str_replace(Array, Array, '/catalog/#SECTI...')
#11 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/classes/general/iblockresult.php(406): CAllIBlock::ReplaceDetailUrl('/catalog/#SECTI...', Array, true, 'E')
#12 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/element.php(683): CIBlockResult->GetNext()
#13 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/base.php(851): Bitrix\Iblock\Component\Element->modifyDisplayProperties(13, Array)
#14 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/base.php(4171): Bitrix\Iblock\Component\Base->initElementList()
#15 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/element.php(298): Bitrix\Iblock\Component\Base->processResultData()
#16 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/base.php(4707): Bitrix\Iblock\Component\Element->processResultData()
#17 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/base.php(4696): Bitrix\Iblock\Component\Base->loadData()
#18 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/element.php(283): Bitrix\Iblock\Component\Base->initialLoadAction()
#19 [internal function]: Bitrix\Iblock\Component\Element->initialLoadAction()
#20 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/base.php(4884): call_user_func(Array)
#21 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/iblock/lib/component/base.php(4902): Bitrix\Iblock\Component\Base->doAction()
#22 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component.php(668): Bitrix\Iblock\Component\Base->executeComponent()
#23 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/main.php(1188): CBitrixComponent->includeComponent('bootstrap_v4', Array, Object(CBitrixComponent), false)
#24 /var/www/www-root/data/www/armatyres.ru/local/templates/armatyres/components/bitrix/catalog/main/element.php(220): CAllMain->IncludeComponent('bitrix:catalog....', 'bootstrap_v4', Array, Object(CBitrixComponent))
#25 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component_template.php(790): include('/var/www/www-ro...')
#26 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component_template.php(885): CBitrixComponentTemplate->__IncludePHPTemplate(Array, Array, '')
#27 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component.php(784): CBitrixComponentTemplate->IncludeTemplate(Array)
#28 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component.php(724): CBitrixComponent->showComponentTemplate()
#29 /var/www/www-root/data/www/armatyres.ru/bitrix/components/bitrix/catalog/component.php(330): CBitrixComponent->includeComponentTemplate('element')
#30 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component.php(615): include('/var/www/www-ro...')
#31 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/component.php(692): CBitrixComponent->__includeComponent()
#32 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/classes/general/main.php(1188): CBitrixComponent->includeComponent('main', Array, false, false)
#33 /var/www/www-root/data/www/armatyres.ru/kardan/index.php(11): CAllMain->IncludeComponent('bitrix:catalog', 'main', Array, false)
#34 /var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/include/urlrewrite.php(128): include_once('/var/www/www-ro...')
#35 /var/www/www-root/data/www/armatyres.ru/bitrix/urlrewrite.php(2): include_once('/var/www/www-ro...')
#36 {main}
  thrown (0)
/var/www/www-root/data/www/armatyres.ru/bitrix/modules/main/lib/db/mysqlcommonconnection.php:415
----------