- Issue created by @drupatz
- First commit to issue fork.
Automatically closed - issue fixed for 2 weeks with no activity.
Warning: Undefined variable $entity in Drupal\rabbit_hole_links\RabbitHoleLinksLinkGenerator->alterUrl() (line 56 of /var/www/html/web/modules/contrib/rabbit_hole_links/src/RabbitHoleLinksLinkGenerator.php)
#0 /var/www/html/web/core/includes/bootstrap.inc(166): _drupal_error_handler_real(2, 'Undefined varia...', '/var/www/html/w...', 56)
#1 /var/www/html/web/modules/contrib/rabbit_hole_links/src/RabbitHoleLinksLinkGenerator.php(56): _drupal_error_handler(2, 'Undefined varia...', '/var/www/html/w...', 56)
#2 /var/www/html/web/modules/custom/lnx_base/src/Entity/EntityValuesTrait.php(197): Drupal\rabbit_hole_links\RabbitHoleLinksLinkGenerator->alterUrl(Object(Drupal\Core\Url))
#3 /var/www/html/vendor/twig/twig/src/Extension/CoreExtension.php(1754): Drupal\lnx_base\Entity\Node->getUrl()
#4 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(65): Twig\Extension\CoreExtension::getAttribute(Object(Drupal\Core\Template\TwigEnvironment), Object(Twig\Source), Object(Drupal\lnx_base\Entity\Node), 'getUrl', Array, 'any', false, false, true, 5)
#5 /var/www/html/vendor/twig/twig/src/Template.php(437): __TwigTemplate_587ca0029978d63c66d7d24212d0bb8b->block_template(Array, Array)
#6 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(54): Twig\Template->yieldBlock('template', Array, Array)
#7 /var/www/html/vendor/twig/twig/src/Template.php(393): __TwigTemplate_a8fdcec6f0ba0e7659ecc8c715e9e7d5->doDisplay(Array, Array)
#8 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(49): Twig\Template->yield(Array, Array)
#9 /var/www/html/vendor/twig/twig/src/Template.php(393): __TwigTemplate_587ca0029978d63c66d7d24212d0bb8b->doDisplay(Array, Array)
#10 /var/www/html/vendor/twig/twig/src/Template.php(349): Twig\Template->yield(Array, Array)
#11 /var/www/html/vendor/twig/twig/src/Template.php(364): Twig\Template->display(Array)
#12 /var/www/html/vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array)
#13 /var/www/html/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render(Array)
#14 /var/www/html/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('themes/custom/l...', Array)
#15 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render('node', Array)
#16 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#17 /var/www/html/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render(Array)
#18 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(196): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#19 /var/www/html/vendor/twig/twig/src/Template.php(437): __TwigTemplate_7020a00b45c94657cec544a128f11f27___178206261->block_content(Array, Array)
#20 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(54): Twig\Template->yieldBlock('content', Array, Array)
#21 /var/www/html/vendor/twig/twig/src/Template.php(393): __TwigTemplate_455b1776878fd1eac88a281d6e39d4af->doDisplay(Array, Array)
#22 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(179): Twig\Template->yield(Array, Array)
#23 /var/www/html/vendor/twig/twig/src/Template.php(393): __TwigTemplate_7020a00b45c94657cec544a128f11f27___178206261->doDisplay(Array, Array)
#24 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(55): Twig\Template->yield(Array)
#25 /var/www/html/vendor/twig/twig/src/Template.php(393): __TwigTemplate_7020a00b45c94657cec544a128f11f27->doDisplay(Array, Array)
#26 /var/www/html/vendor/twig/twig/src/Template.php(349): Twig\Template->yield(Array, Array)
#27 /var/www/html/vendor/twig/twig/src/Template.php(364): Twig\Template->display(Array)
#28 /var/www/html/vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array)
#29 /var/www/html/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render(Array)
#30 /var/www/html/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('themes/custom/l...', Array)
#31 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render('views_view_unfo...', Array)
#32 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(504): Drupal\Core\Render\Renderer->doRender(Array)
#33 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#34 /var/www/html/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render(Array)
#35 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(113): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#36 /var/www/html/vendor/twig/twig/src/Template.php(393): __TwigTemplate_11b295a81ba69b247ef8321d918d7ff9->doDisplay(Array, Array)
#37 /var/www/html/vendor/twig/twig/src/Template.php(349): Twig\Template->yield(Array, Array)
#38 /var/www/html/vendor/twig/twig/src/Template.php(364): Twig\Template->display(Array)
#39 /var/www/html/vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array)
#40 /var/www/html/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render(Array)
#41 /var/www/html/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('themes/custom/l...', Array)
#42 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render('views_view', Array)
#43 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(504): Drupal\Core\Render\Renderer->doRender(Array)
#44 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#45 /var/www/html/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render(Array)
#46 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(81): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#47 /var/www/html/vendor/twig/twig/src/Template.php(437): __TwigTemplate_3ff15a59fafc4a407f1ba9c475825653->block_content(Array, Array)
#48 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(72): Twig\Template->yieldBlock('content', Array, Array)
#49 /var/www/html/vendor/twig/twig/src/Template.php(393): __TwigTemplate_5633734858d2578a1611ab0276ecc317->doDisplay(Array, Array)
#50 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(50): Twig\Template->yield(Array, Array)
#51 /var/www/html/vendor/twig/twig/src/Template.php(393): __TwigTemplate_3ff15a59fafc4a407f1ba9c475825653->doDisplay(Array, Array)
#52 /var/www/html/vendor/twig/twig/src/Template.php(349): Twig\Template->yield(Array, Array)
#53 /var/www/html/vendor/twig/twig/src/Template.php(364): Twig\Template->display(Array)
#54 /var/www/html/vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array)
#55 /var/www/html/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render(Array)
#56 /var/www/html/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('themes/custom/l...', Array)
#57 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render('block', Array)
#58 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(504): Drupal\Core\Render\Renderer->doRender(Array)
#59 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#60 /var/www/html/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render(Array)
#61 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(148): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#62 /var/www/html/vendor/twig/twig/src/Template.php(437): __TwigTemplate_d8369c8b1332bc9f0945dedd2382c47c___591288703->block_col1(Array, Array)
#63 /var/www/html/vendor/twig/twig/src/Template.php(145): Twig\Template->yieldBlock('col1', Array, Array, true, NULL)
#64 /var/www/html/vendor/twig/twig/src/Template.php(206): Twig\Template->displayBlock('col1', Array, Array, true)
#65 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(76): Twig\Template->renderBlock('col1', Array, Array)
#66 /var/www/html/vendor/twig/twig/src/Template.php(393): __TwigTemplate_9b8cdcb359992b94ea94b13afea3ed02->doDisplay(Array, Array)
#67 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(136): Twig\Template->yield(Array, Array)
#68 /var/www/html/vendor/twig/twig/src/Template.php(393): __TwigTemplate_d8369c8b1332bc9f0945dedd2382c47c___591288703->doDisplay(Array, Array)
#69 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(44): Twig\Template->yield(Array)
#70 /var/www/html/vendor/twig/twig/src/Template.php(393): __TwigTemplate_d8369c8b1332bc9f0945dedd2382c47c->doDisplay(Array, Array)
#71 /var/www/html/vendor/twig/twig/src/Template.php(349): Twig\Template->yield(Array, Array)
#72 /var/www/html/vendor/twig/twig/src/Template.php(364): Twig\Template->display(Array)
#73 /var/www/html/vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array)
#74 /var/www/html/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render(Array)
#75 /var/www/html/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('themes/custom/l...', Array)
#76 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render('layout__linexo_...', Array)
#77 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(504): Drupal\Core\Render\Renderer->doRender(Array)
#78 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(504): Drupal\Core\Render\Renderer->doRender(Array)
#79 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#80 /var/www/html/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render(Array)
#81 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(164): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#82 /var/www/html/vendor/twig/twig/src/Template.php(437): __TwigTemplate_a8fdcec6f0ba0e7659ecc8c715e9e7d5->block_content(Array, Array)
#83 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(118): Twig\Template->yieldBlock('content', Array, Array)
#84 /var/www/html/vendor/twig/twig/src/Template.php(437): __TwigTemplate_a8fdcec6f0ba0e7659ecc8c715e9e7d5->block_template(Array, Array)
#85 /var/www/html/vendor/twig/twig/src/Environment.php(391) : eval()'d code(54): Twig\Template->yieldBlock('template', Array, Array)
#86 /var/www/html/vendor/twig/twig/src/Template.php(393): __TwigTemplate_a8fdcec6f0ba0e7659ecc8c715e9e7d5->doDisplay(Array, Array)
#87 /var/www/html/vendor/twig/twig/src/Template.php(349): Twig\Template->yield(Array, Array)
#88 /var/www/html/vendor/twig/twig/src/Template.php(364): Twig\Template->display(Array)
#89 /var/www/html/vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array)
#90 /var/www/html/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render(Array)
#91 /var/www/html/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('themes/custom/l...', Array)
#92 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render('node', Array)
#93 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#94 /var/www/html/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(238): Drupal\Core\Render\Renderer->render(Array, false)
#95 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#96 /var/www/html/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(231): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#97 /var/www/html/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(128): Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#98 /var/www/html/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))
#99 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#100 /var/www/html/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))
#101 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(186): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#102 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#103 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#104 /var/www/html/web/modules/custom/lnx_base/src/HeadersMiddleware.php(77): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#105 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\lnx_base\HeadersMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#106 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#107 /var/www/html/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#108 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(191): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#109 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(128): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#110 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(82): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#111 /var/www/html/vendor/asm89/stack-cors/src/Cors.php(53): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#112 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Asm89\Stack\Cors->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#113 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#114 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#115 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#116 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#117 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#118 {main}
Ensure existance of $entity
Active
1.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.