- π¬π§United Kingdom zach.bimson
Im going to try and recreate this, haven't got loads of time but im working on a 3.x release and if i solve this in ill commit to the new dev branch
- πΊπΈUnited States gtucker6
I provided a hotfix patch to prevent site errors for those getting this issue seemingly at random. My client's site was getting this error for anonymous users, so it makes me think that this is a local task caching or dependency issue somewhere (the module uses the LocalTaskDefault class from core for it's local tasks). This patch checks if the route exists before providing the local task in the local task deriver class.
- π¬π§United Kingdom zach.bimson
@gtucker6 thanks for the patch, are you able to open a MR for this please ?
- π―π΄Jordan mqanneh Amman
Still getting the same using v3.0 and patch #12 π \RouteNotFoundException: Route "entity.node.vmd_preview_list" does not exist. Active
- π¨π¦Canada dalin Guelph, π¨π¦, π
Upping to critical since the site basically goes down when this happens.
I'm not sure if this is a thing, but I've seen the error on two high traffic sites. We also run this module on smaller sites, and they haven't seen an issue.
- Issue was unassigned.
- Status changed to Needs work
7 months ago 6:37pm 14 May 2024 - πΊπΈUnited States robpowell Boston
This is happening to me on deployments in Acquia. After a full cache rebuild, via drush and the Acquia UI, the issue is resolved.
- π¨π¦Canada SKAUGHT
#17
cache clearing is not resolution. it's just a 'stop gap' to get back up.the problem is not just with an Acquia Deployment that this happens, i know this from my own direct experience in Acquia.
- πΊπΈUnited States fizcs3 Omaha, Nebraska; USA
Have had this module installed for quite some time without any issue...
But now, have had a random WSOD a couple times recently, out of nowhere, for which we too are finding these errors in the log...
Cannot seem to figure out how to reproduce it either -- but, clearing cache does fix the issue...We have multi-site running and it didn't happen on all sites, just on one site WSOD of the many, still obviously not good but odd...
To confirm that this is not just an Acquia issue. We are running on Platform.sh.
This is on D10.2.9, PHP 8.2.24, runningview_modes_display
3.0.0.Current stack trace below:
#0 /app/web/core/lib/Drupal/Core/Menu/LocalTaskDefault.php(45): Drupal\Core\Routing\RouteProvider->getRouteByName('entity.node.vmd...') #1 /app/web/core/lib/Drupal/Core/Menu/LocalTaskManager.php(310): Drupal\Core\Menu\LocalTaskDefault->getRouteParameters(Object(Drupal\Core\Routing\CurrentRouteMatch)) #2 /app/web/core/lib/Drupal/Core/Menu/LocalTaskManager.php(358): Drupal\Core\Menu\LocalTaskManager->getTasksBuild('entity.node.can...', Object(Drupal\Core\Cache\CacheableMetadata)) #3 /app/web/core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php(96): Drupal\Core\Menu\LocalTaskManager->getLocalTasks('entity.node.can...', 0) #4 /app/web/core/modules/block/src/BlockViewBuilder.php(171): Drupal\Core\Menu\Plugin\Block\LocalTasksBlock->build() #5 [internal function]: Drupal\block\BlockViewBuilder::preRender(Array) #6 /app/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(111): call_user_func_array('Drupal\\block\\Bl...', Array) #7 /app/web/core/lib/Drupal/Core/Render/Renderer.php(859): Drupal\Core\Render\Renderer->doTrustedCallback('Drupal\\block\\Bl...', Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...') #8 /app/web/core/lib/Drupal/Core/Render/Renderer.php(421): Drupal\Core\Render\Renderer->doCallback('#pre_render', 'Drupal\\block\\Bl...', Array) #9 /app/web/core/lib/Drupal/Core/Render/Renderer.php(493): Drupal\Core\Render\Renderer->doRender(Array) #10 /app/web/core/lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender(Array, false) #11 /app/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render(Array) #12 /app/private/adecsite/twig/670b32b94fd89_page.html.twig_2X1IALXjLooWmJrE6dA_4L3tt/6Ou8NtTzKDU2-NFHNL7_1T1ebA7uTPt8E4ELy4QrO4o.php(216): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true) #13 /app/vendor/twig/twig/src/Template.php(393): __TwigTemplate_b431ca3ee6eb7c761b4f2fad183b900f->doDisplay(Array, Array) #14 /app/vendor/twig/twig/src/Template.php(349): Twig\Template->yield(Array, Array) #15 /app/vendor/twig/twig/src/Template.php(364): Twig\Template->display(Array) #16 /app/vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array) #17 /app/web/core/themes/engines/twig/twig.engine(39): Twig\TemplateWrapper->render(Array) #18 /app/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('themes/custom/c...', Array) #19 /app/web/core/lib/Drupal/Core/Render/Renderer.php(480): Drupal\Core\Theme\ThemeManager->render('page', Array) #20 /app/web/core/lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender(Array, false) #21 /app/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render(Array) #22 /app/private/adecsite/twig/670b32b94fd89_html.html.twig_dnhZIHgLGwuoEu4k9Dv5lPDYn/STNTNqVGYNWeznYXzh_AVbeFl_N3GddjZDfbiE9feh0.php(178): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true) #23 /app/vendor/twig/twig/src/Template.php(393): __TwigTemplate_d2422b6a6e8c6d89ef25747246f799bb->doDisplay(Array, Array) #24 /app/vendor/twig/twig/src/Template.php(349): Twig\Template->yield(Array, Array) #25 /app/vendor/twig/twig/src/Template.php(364): Twig\Template->display(Array) #26 /app/vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array) #27 /app/web/core/themes/engines/twig/twig.engine(39): Twig\TemplateWrapper->render(Array) #28 /app/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('themes/custom/c...', Array) #29 /app/web/core/lib/Drupal/Core/Render/Renderer.php(480): Drupal\Core\Theme\ThemeManager->render('html', Array) #30 /app/web/core/lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender(Array, false) #31 /app/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(158): Drupal\Core\Render\Renderer->render(Array) #32 /app/web/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() #33 /app/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(153): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #34 /app/web/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)) #35 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #36 /app/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #37 /app/vendor/symfony/http-kernel/HttpKernel.php(186): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view') #38 /app/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #39 /app/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #40 /app/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #41 /app/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #42 /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(191): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #43 /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(128): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true) #44 /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(82): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true) #45 /app/vendor/asm89/stack-cors/src/Cors.php(53): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #46 /app/web/core/modules/ban/src/BanMiddleware.php(50): Asm89\Stack\Cors->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #47 /app/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #48 /app/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #49 /app/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #50 /app/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #51 /app/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #52 /app/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #53 {main}
- π¨π¦Canada SKAUGHT
thanks for confirming your hosting platform. Indeed, this module IS NOT STABLE!!
this module is not maintained!
- π©πͺGermany Anybody Porta Westfalica
Maybe someone here would like to request maintainership for the module?
https://www.drupal.org/docs/develop/managing-a-drupalorg-theme-module-or... β
- π¬π§United Kingdom zach.bimson
Not sure thatβs necessary, I donβt have time to work on a fix currently but Iβm happy to review and manage merge requests. No one is yet to propose any changesβ¦