Array
(
    [%type] => TypeError
    [@message] => Argument 1 passed to Drupal\block_content\BlockContentViewBuilder::view() must implement interface Drupal\Core\Entity\EntityInterface, null given, called in /var/www/www-root/data/www/emasrussia.ru/themes/custom/emasrussia_theme/includes/menu.inc on line 57
    [%function] => Drupal\block_content\BlockContentViewBuilder->view()
    [%file] => /var/www/www-root/data/www/emasrussia.ru/core/modules/block_content/src/BlockContentViewBuilder.php
    [%line] => 16
    [severity_level] => 3
    [@backtrace_string] => #0 /var/www/www-root/data/www/emasrussia.ru/themes/custom/emasrussia_theme/includes/menu.inc(57): Drupal\block_content\BlockContentViewBuilder->view(NULL)
#1 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Theme/ThemeManager.php(287): emasrussia_theme_preprocess_menu__main(Array, 'menu__main', Array)
#2 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Render/Renderer.php(437): Drupal\Core\Theme\ThemeManager->render('menu__main', Array)
#3 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false)
#4 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Template/TwigExtension.php(490): Drupal\Core\Render\Renderer->render(Array)
#5 /var/www/www-root/data/www/emasrussia.ru/sites/default/files/php/twig/5e54c7549535d_block--system-menu-block._cUDBx7swnrcxDfq8V7AXZBwma/5HZoxJZx5dE-1wZOUpb62iGrfYKwoADhZ__04W4BFBc.php(86): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#6 /var/www/www-root/data/www/emasrussia.ru/vendor/twig/twig/lib/Twig/Template.php(215): __TwigTemplate_58884e9139c0696d8178bac1528f32802eae076cde4a3440f5830d060a2ee84c->block_content(Array, Array)
#7 /var/www/www-root/data/www/emasrussia.ru/sites/default/files/php/twig/5e54c7549535d_block--system-menu-block._cUDBx7swnrcxDfq8V7AXZBwma/5HZoxJZx5dE-1wZOUpb62iGrfYKwoADhZ__04W4BFBc.php(71): Twig_Template->displayBlock('content', Array, Array)
#8 /var/www/www-root/data/www/emasrussia.ru/vendor/twig/twig/lib/Twig/Template.php(432): __TwigTemplate_58884e9139c0696d8178bac1528f32802eae076cde4a3440f5830d060a2ee84c->doDisplay(Array, Array)
#9 /var/www/www-root/data/www/emasrussia.ru/vendor/twig/twig/lib/Twig/Template.php(403): Twig_Template->displayWithErrorHandling(Array, Array)
#10 /var/www/www-root/data/www/emasrussia.ru/vendor/twig/twig/lib/Twig/Template.php(411): Twig_Template->display(Array)
#11 /var/www/www-root/data/www/emasrussia.ru/core/themes/engines/twig/twig.engine(64): Twig_Template->render(Array)
#12 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('themes/custom/g...', Array)
#13 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Render/Renderer.php(437): Drupal\Core\Theme\ThemeManager->render('block', Array)
#14 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Render/Renderer.php(450): Drupal\Core\Render\Renderer->doRender(Array)
#15 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false)
#16 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Template/TwigExtension.php(490): Drupal\Core\Render\Renderer->render(Array)
#17 /var/www/www-root/data/www/emasrussia.ru/sites/default/files/php/twig/5e54c7549535d_page.html.twig_K_sPebCO_8KMqmhVXQOVPNsaP/XiWEJahCVwqm6tIHgLVPxfgKAfhCL4qkkvU13M1kIT4.php(75): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#18 /var/www/www-root/data/www/emasrussia.ru/vendor/twig/twig/lib/Twig/Template.php(432): __TwigTemplate_2bd7a473522a6a5328c6a45471216dbbffeac3e6c40e8db18f662e105152107e->doDisplay(Array, Array)
#19 /var/www/www-root/data/www/emasrussia.ru/vendor/twig/twig/lib/Twig/Template.php(403): Twig_Template->displayWithErrorHandling(Array, Array)
#20 /var/www/www-root/data/www/emasrussia.ru/vendor/twig/twig/lib/Twig/Template.php(411): Twig_Template->display(Array)
#21 /var/www/www-root/data/www/emasrussia.ru/core/themes/engines/twig/twig.engine(64): Twig_Template->render(Array)
#22 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('themes/custom/e...', Array)
#23 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Render/Renderer.php(437): Drupal\Core\Theme\ThemeManager->render('page', Array)
#24 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false)
#25 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Template/TwigExtension.php(490): Drupal\Core\Render\Renderer->render(Array)
#26 /var/www/www-root/data/www/emasrussia.ru/sites/default/files/php/twig/5e54c7549535d_html.html.twig_70O5QoWgzl5zlRN0XaSReNHml/7yfJYYmfJbLHjds-KJIAEu9AZ2NSRONWbEj_Ywkrryc.php(112): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#27 /var/www/www-root/data/www/emasrussia.ru/vendor/twig/twig/lib/Twig/Template.php(432): __TwigTemplate_37831b87ab6f0f46ae9fec56b99e5ad819b065f14d3faf5ed4367a4e4f3a896a->doDisplay(Array, Array)
#28 /var/www/www-root/data/www/emasrussia.ru/vendor/twig/twig/lib/Twig/Template.php(403): Twig_Template->displayWithErrorHandling(Array, Array)
#29 /var/www/www-root/data/www/emasrussia.ru/vendor/twig/twig/lib/Twig/Template.php(411): Twig_Template->display(Array)
#30 /var/www/www-root/data/www/emasrussia.ru/core/themes/engines/twig/twig.engine(64): Twig_Template->render(Array)
#31 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('themes/custom/e...', Array)
#32 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Render/Renderer.php(437): Drupal\Core\Theme\ThemeManager->render('html', Array)
#33 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false)
#34 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(147): Drupal\Core\Render\Renderer->render(Array)
#35 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Render/Renderer.php(582): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#36 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(148): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#37 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#38 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#39 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#40 /var/www/www-root/data/www/emasrussia.ru/vendor/symfony/http-kernel/HttpKernel.php(156): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent))
#41 /var/www/www-root/data/www/emasrussia.ru/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#42 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#43 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#44 /var/www/www-root/data/www/emasrussia.ru/core/modules/page_cache/src/StackMiddleware/PageCache.php(184): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#45 /var/www/www-root/data/www/emasrussia.ru/core/modules/page_cache/src/StackMiddleware/PageCache.php(121): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#46 /var/www/www-root/data/www/emasrussia.ru/core/modules/page_cache/src/StackMiddleware/PageCache.php(75): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#47 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#48 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(50): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#49 /var/www/www-root/data/www/emasrussia.ru/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#50 /var/www/www-root/data/www/emasrussia.ru/core/lib/Drupal/Core/DrupalKernel.php(664): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#51 /var/www/www-root/data/www/emasrussia.ru/index.php(20): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#52 {main}
)
The website encountered an unexpected error. Please try again later. CODE: 1