Drupal 9 Preview does not work unless node is saved - drupal

We get the following error when trying to preview a node that has not been saved.
The website encountered an unexpected error. Please try again later.
Drupal\Core\Entity\EntityStorageException: Cannot load GroupContent entities for an unsaved entity. in Drupal\group\Entity\Storage\GroupContentStorage->loadByEntity() (line 92 of modules/contrib/group/src/Entity/Storage/GroupContentStorage.php).
Drupal\group\Entity\GroupContent::loadByEntity() (Line: 21)
nyusteinhardt_preprocess_node() (Line: 287)
Drupal\Core\Theme\ThemeManager->render() (Line: 422)
Drupal\Core\Render\Renderer->doRender() (Line: 201)
Drupal\Core\Render\Renderer->render() (Line: 241)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 564)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare() (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
call_user_func() (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 163)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 50)
Drupal\ban\BanMiddleware->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 708)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Related

Drupal logged in user error after upgrading apigee_api_catalog modules

I have updated the following apigee modules. currently, I'm getting the following error when trying to log in to the system. My objective is to update the modules and upgrade the Drupal core from 8.9 to 9 or 9.2.
drupal/apigee_api_catalog: "^2.6"
drupal/apigee_edge: "^2.0"
drupal/apigee_m10n: "^1.12"
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "view.api_catalog_admin.page_1" does not exist
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "view.api_catalog_admin.page_1" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 208 of core/lib/Drupal/Core/Routing/RouteProvider.php). Drupal\Core\Routing\UrlGenerator->getRoute('view.api_catalog_admin.page_1') (Line: 130) Drupal\Core\Routing\UrlGenerator->getPathFromRoute('view.api_catalog_admin.page_1', Array) (Line: 68) Drupal\Core\Render\MetadataBubblingUrlGenerator->getPathFromRoute('view.api_catalog_admin.page_1', Array) (Line: 799) Drupal\Core\Url->getInternalPath() (Line: 136) Drupal\Core\Utility\LinkGenerator->generate('API catalog', Object) (Line: 95) Drupal\Core\Render\Element\Link::preRenderLink(Array) call_user_func_array(Array, Array) (Line: 100) Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. Support for this callback implementation is deprecated in 8.8.0 and will be removed in Drupal 9.0.0. See https://www.drupal.org/node/2966725', 'silenced_deprecation', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 781) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 372) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 117) __TwigTemplate_1a000f671d4cc5bffe1f0485519f6b2214387b1d55162283576c104dddccc932->getmenu_links(Array, Object, 0) (Line: 60) __TwigTemplate_1a000f671d4cc5bffe1f0485519f6b2214387b1d55162283576c104dddccc932->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('core/modules/toolbar/templates/menu--toolbar.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('menu__toolbar', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200) Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157) Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 115) Drupal\toolbar\Controller\ToolbarController::preRenderGetRenderedSubtrees(Array) call_user_func_array(Array, Array) (Line: 100) Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. Support for this callback implementation is deprecated in 8.8.0 and will be removed in Drupal 9.0.0. See https://www.drupal.org/node/2966725', 'silenced_deprecation', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 781) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 372) Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200) Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157) Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 299) toolbar_get_rendered_subtrees() (Line: 324) _toolbar_get_subtrees_hash() (Line: 167) toolbar_toolbar() call_user_func_array('toolbar_toolbar', Array) (Line: 403) Drupal\Core\Extension\ModuleHandler->invokeAll('toolbar') (Line: 81) Drupal\toolbar\Element\Toolbar::preRenderToolbar(Array) call_user_func_array(Array, Array) (Line: 100) Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. Support for this callback implementation is deprecated in 8.8.0 and will be removed in Drupal 9.0.0. See https://www.drupal.org/node/2966725', 'silenced_deprecation', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 781) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 372) Drupal\Core\Render\Renderer->doRender(Array) (Line: 444) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 98) __TwigTemplate_ced2ecc177f672eae8887be6081287e5ac8475fdad853d5b76bca56bf8f7db1f->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('profiles/contrib/apigee_devportal_kickstart/themes/custom/apigee_kickstart/templates/layout/html.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 147) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Drupal how i can solve getEntityTypeId() on null on json api boost

Hi, i'am getting this error when Cron starting on drupal...
Drupal Version(9.3.6)
The website encountered an unexpected error. Please try again later.
Error: Call to a member function getEntityTypeId() on null in Drupal\jsonapi_boost\Plugin\warmer\ResourceWarmer->Drupal\jsonapi_boost\Plugin\warmer\{closure}() (line 142 of modules/contrib/jsonapi_boost/src/Plugin/warmer/ResourceWarmer.php).
Drupal\jsonapi_boost\Plugin\warmer\ResourceWarmer->Drupal\jsonapi_boost\Plugin\warmer\{closure}()
array_reduce() (Line: 163)
Drupal\jsonapi_boost\Plugin\warmer\ResourceWarmer->buildIdsBatch() (Line: 52)
Drupal\warmer\HookImplementations::singleWarmer() (Line: 38)
Drupal\warmer\HookImplementations::Drupal\warmer\{closure}()
array_map() (Line: 37)
Drupal\warmer\HookImplementations::enqueueWarmers() (Line: 15)
warmer_cron()
call_user_func_array() (Line: 392)
Drupal\Core\Extension\ModuleHandler->invoke() (Line: 250)
Drupal\Core\Cron->invokeCronHandlers() (Line: 136)
Drupal\Core\Cron->run() (Line: 75)
Drupal\Core\ProxyClass\Cron->run() (Line: 46)
Drupal\system\CronController->run()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 49)
Asm89\Stack\Cors->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 708)
Drupal\Core\DrupalKernel->handle() (Line: 19)
On drupal forum i can't find a solution, pls help :)

Facing the pathauto issue from Drupal 8 to 9 conversion?

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "path.alias_manager". Did you mean this: "path_alias.manager"? in Drupal\Component\DependencyInjection\Container->get() (line 156 of core/lib/Drupal/Component/DependencyInjection/Container.php).
Drupal::service('path.alias_manager') (Line: 378)
custom_hreflang_page_attachments_alter(Array, NULL, NULL) (Line: 539)
Drupal\Core\Extension\ModuleHandler->alter('page_attachments', Array) (Line: 319)
Drupal\Core\Render\MainContent\HtmlRenderer->invokePageAttachmentHooks(Array) (Line: 288)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 163)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Facing this issue. How to solve this? When I click on user page, open the content facing this problem.
From what I gather, the service name should be "path_alias.manager" rather than "path.alias_manager" (note the switched locations of underscore and period).

How to fix Node "options" does not exist for Node "Drupal\Core\Template\TwigNodeTrans"

After installing Drupal 8 as in the this Local Development Guide
I successfully completed the steps up-to Install Drupal section. When I open it in browser I only get
The website encountered an unexpected error. Please try again later.
After setting $config['system.logging']['error_level'] = 'verbose'; in settings.php I managed to get the following error trace
The website encountered an unexpected error. Please try again later.
Twig\Error\SyntaxError: An exception has been thrown during the compilation of a template ("Node "options" does not exist for Node "Drupal\Core\Template\TwigNodeTrans".") in "core/themes/bartik/templates/block--system-menu-block.html.twig". in Twig\Environment->compileSource() (line 798 of /var/www/html/vendor/twig/twig/src/Environment.php).
Drupal\Core\Template\TwigNodeTrans->compile(Object) (Line: 118)
Twig\Node\Node->compile(Object) (Line: 103)
Twig\Compiler->subcompile(Object) (Line: 38)
Twig\Node\BlockNode->compile(Object) (Line: 118)
Twig\Node\Node->compile(Object) (Line: 118)
Twig\Node\Node->compile(Object) (Line: 103)
Twig\Compiler->subcompile(Object) (Line: 107)
Twig\Node\ModuleNode->compileTemplate(Object) (Line: 77)
Twig\Node\ModuleNode->compile(Object) (Line: 92)
Twig\Compiler->compile(Object) (Line: 772)
Twig\Environment->compile(Object) (Line: 793)
Twig\Environment->compileSource(Object) (Line: 482)
Twig\Environment->loadClass('__TwigTemplate_8a36b536e32bf0b1914811d79e1edf0e487059aa5ccf779f9b95f53355e28ac3', 'core/themes/bartik/templates/block--system-menu-block.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/bartik/templates/block--system-menu-block.html.twig') (Line: 64)
twig_render_template('core/themes/bartik/templates/block--system-menu-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 64)
__TwigTemplate_b957555d616a9ab14351dcabd437c24eff5410fef69055c9c4fd4e0c505e8ee5->doDisplay(Array, Array) (Line: 443)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 414)
Twig\Template->display(Array) (Line: 422)
Twig\Template->render(Array) (Line: 64)
twig_render_template('core/themes/bartik/templates/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 102)
__TwigTemplate_a886be0944b0f166f485440f11e78d43e4d22671d48ee10699c8dcf8db39b676->doDisplay(Array, Array) (Line: 443)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 414)
Twig\Template->display(Array) (Line: 422)
Twig\Template->render(Array) (Line: 64)
twig_render_template('core/themes/classy/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 693)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Considering an error during installation I reinstalled ddev and Drupal again from scratch except for Docker. But I still end up there. My OS is Arch(Manjaro) and Docker containers for this is from ddev
It's a Twig error, users have started to report this issue using Drupal 8.6.15 & Twig 1.40.ish.
Please downgrade your twig version as explained in here and here
Update: Set your version from v1.40.0 => v1.40.1 that solved the problem ( https://github.com/twigphp/Twig/commit/732c489693fab432bcaf9ccbb1c53b91fe135700 )

Drupal 8.5.3 You have requested a non-existent service "entity.memory_cache"

I am getting an error after updating the composer.
You have requested a non-existent service "entity.memory_cache"
Please help, I can't able to find any solution for this error please help me how can i solve this issue.
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "entity.memory_cache". in Drupal\Component\DependencyInjection\Container->get() (line 151 of core\lib\Drupal\Component\DependencyInjection\Container.php).
Drupal\commerce_log\LogStorage::createInstance(Object, Object) (Line: 249)
Drupal\Core\Entity\EntityTypeManager->createHandlerInstance('Drupal\commerce_log\LogStorage', Object) (Line: 238)
Drupal\Core\Entity\EntityTypeManager->getHandler('commerce_log', 'storage') (Line: 169)
Drupal\Core\Entity\EntityTypeManager->getStorage('commerce_log') (Line: 79)
Drupal\Core\Entity\EntityManager->getStorage('commerce_log') (Line: 95)
Drupal\views\EntityViewsData::createInstance(Object, Object) (Line: 249)
Drupal\Core\Entity\EntityTypeManager->createHandlerInstance('Drupal\commerce\CommerceEntityViewsData', Object) (Line: 238)
Drupal\Core\Entity\EntityTypeManager->getHandler('commerce_log', 'views_data') (Line: 156)
Drupal\Core\Entity\EntityManager->getHandler('commerce_log', 'views_data') (Line: 169)
views_views_data()
call_user_func_array('views_views_data', Array) (Line: 391)
Drupal\Core\Extension\ModuleHandler->invoke('views', 'views_data') (Line: 245)
Drupal\views\ViewsData->getData() (Line: 162)
Drupal\views\ViewsData->get('block_content') (Line: 91)
Drupal\views\Plugin\Derivative\ViewsEntityRow->getDerivativeDefinitions(Array) (Line: 101)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives(Array) (Line: 87)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() (Line: 284)
Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() (Line: 175)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 147)
views_theme(Array, 'module', 'views', 'core/modules/views') (Line: 447)
Drupal\Core\Theme\Registry->processExtension(Array, 'views', 'module', 'views', 'core/modules/views') (Line: 334)
Drupal\Core\Theme\Registry->build() (Line: 233)
Drupal\Core\Theme\Registry->get() (Line: 86)
Drupal\Core\Utility\ThemeRegistry->initializeRegistry() (Line: 67)
Drupal\Core\Utility\ThemeRegistry->__construct('theme_registry:runtime:gavias_sanbro', Object, Object, Array, 1) (Line: 253)
Drupal\Core\Theme\Registry->getRuntime() (Line: 175)
Drupal\Core\Entity\EntityViewBuilder->getBuildDefaults(Object, 'full') (Line: 59)
Drupal\node\NodeViewBuilder->getBuildDefaults(Object, 'full') (Line: 138)
Drupal\Core\Entity\EntityViewBuilder->viewMultiple(Array, 'full', NULL) (Line: 111)
Drupal\Core\Entity\EntityViewBuilder->view(Object, 'full') (Line: 96)
Drupal\Core\Entity\Controller\EntityViewController->view(Object, 'full', NULL) (Line: 55)
Drupal\node\Controller\NodeViewController->view(Object, 'full', NULL)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 664)
Drupal\Core\DrupalKernel->handle(Object) (Line: 51)
I getting this error after updating composer.

Resources