exception |
Twig\Error\LoaderError {#10057
#message: "Template "@BDLCustomThemeChanges/storefront/layout/header/top-bar.html.twig" is not defined in "@Storefront/storefront/layout/header/header.html.twig" at line 3."
#code: 0
#file: "/home/bardahls/shopware/vendor/twig/twig/src/Loader/ChainLoader.php"
#line: 99
-lineno: 3
-name: "@Storefront/storefront/layout/header/header.html.twig"
-rawMessage: "Template "@BDLCustomThemeChanges/storefront/layout/header/top-bar.html.twig" is not defined."
-sourcePath: ""
-sourceCode: ""
trace: {
/home/bardahls/shopware/vendor/twig/twig/src/Loader/ChainLoader.php:99 {
Twig\Loader\ChainLoader->getCacheKey(string $name): string …
›
› throw new LoaderError(sprintf('Template "%s" is not defined%s.', $name, $exceptions ? ' ('.implode(', ', $exceptions).')' : ''));
› }
}
/home/bardahls/shopware/vendor/twig/twig/src/Environment.php:261 {
Twig\Environment->getTemplateClass(string $name, int $index = null): string …
› {
› $key = $this->getLoader()->getCacheKey($name).$this->optionsHash;
›
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:319 {
Twig\Template->loadTemplate($template, $templateName = null, $line = null, $index = null) …
› } else {
› $class = $this->env->getTemplateClass($template);
› }
}
/home/bardahls/shopware/vendor/shopware/storefront/Resources/views/storefront/layout/header/header.html.twig:4 {
__TwigTemplate_ddae6f8f0a01ed673d7450c39d3d1d23->block_layout_top_bar($context, array $blocks = []) …
› {% sw_include '@Storefront/storefront/layout/header/top-bar.html.twig' %}
› {% endblock %}
›
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:171 {
Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
› try {
› $template->$block($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/shopware/storefront/Resources/views/storefront/layout/header/header.html.twig:5 {
__TwigTemplate_ddae6f8f0a01ed673d7450c39d3d1d23->block_layout_header($context, array $blocks = []) …
› {% endblock %}
› "in __TwigTemplate_ddae6f8f0a01ed673d7450c39d3d1d23->block_layout_header($context, array $blocks = []) "
› {% block layout_header_navigation %}
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:171 {
Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
› try {
› $template->$block($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/var/cache/dev_h8a504f2468b79c92c87215f2f3293b0a/twig/6b/6bee0410294efebfa9d143756f50ec422f914dd337e0e7910bf4ed8e6a9e2746.php:61 {
__TwigTemplate_ddae6f8f0a01ed673d7450c39d3d1d23->doDisplay(array $context, array $blocks = []) …
› // line 1
› $this->displayBlock('layout_header', $context, $blocks);
›
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:367 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
}
/home/bardahls/shopware/var/cache/dev_h8a504f2468b79c92c87215f2f3293b0a/twig/b3/b3df141f47e5d808aa522761bec1580a17c49ee6ca45982ae82bdd159fa7d1b6.php:59 {
__TwigTemplate_d105a3219ee11a453699aecd7df987c5->doDisplay(array $context, array $blocks = []) …
› $this->parent = $this->loadTemplate("@Storefront/storefront/layout/header/header.html.twig", "@BDLCustomThemeChanges/storefront/layout/header/header.html.twig", 2);
› $this->parent->display($context, array_merge($this->blocks, $blocks));
›
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:367 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
}
/home/bardahls/shopware/vendor/shopware/storefront/Resources/views/storefront/base.html.twig:36 {
__TwigTemplate_17ecd536246f1dd4dc1cbebdb3bdf782->block_base_header_inner($context, array $blocks = []) …
› {% sw_include '@Storefront/storefront/layout/header/header.html.twig' %}
› </div>
› {% endblock %}
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:171 {
Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
› try {
› $template->$block($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/shopware/storefront/Resources/views/storefront/base.html.twig:38 {
__TwigTemplate_17ecd536246f1dd4dc1cbebdb3bdf782->block_base_header($context, array $blocks = []) …
› {% endblock %}
› </header>
› {% endblock %}
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:171 {
Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
› try {
› $template->$block($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/shopware/storefront/Resources/views/storefront/base.html.twig:40 {
__TwigTemplate_17ecd536246f1dd4dc1cbebdb3bdf782->block_base_body_inner($context, array $blocks = []) …
› {% endblock %}
› "in __TwigTemplate_17ecd536246f1dd4dc1cbebdb3bdf782->block_base_body_inner($context, array $blocks = []) "
› {% block base_navigation %}
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:171 {
Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
› try {
› $template->$block($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:134 {
Twig\Template->displayParentBlock($name, array $context, array $blocks = []) …
› } elseif (false !== $parent = $this->getParent($context)) {
› $parent->displayBlock($name, $context, $blocks, false);
› } else {
}
/home/bardahls/shopware/var/cache/dev_h8a504f2468b79c92c87215f2f3293b0a/twig/9c/9c67caf3131e5efe2fdb6077cd3d884e7076de6c6c30cedfa9639d37ce195e65.php:72 {
__TwigTemplate_227aa675ccfe7456d109d3c2ee1f339a->block_base_body_inner($context, array $blocks = []) …
› echo " ";
› $this->displayParentBlock("base_body_inner", $context, $blocks);
› echo "
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:171 {
Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
› try {
› $template->$block($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/shopware/storefront/Resources/views/storefront/base.html.twig:96 {
__TwigTemplate_17ecd536246f1dd4dc1cbebdb3bdf782->block_base_body($context, array $blocks = []) …
› {% endblock %}
› "in __TwigTemplate_17ecd536246f1dd4dc1cbebdb3bdf782->block_base_body($context, array $blocks = []) "
› {% block base_scroll_up %}
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:171 {
Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
› try {
› $template->$block($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:191 {
Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
› } elseif (false !== $parent = $this->getParent($context)) {
› $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false, $templateContext ?? $this);
› } elseif (isset($blocks[$name])) {
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:191 {
Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
› } elseif (false !== $parent = $this->getParent($context)) {
› $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false, $templateContext ?? $this);
› } elseif (isset($blocks[$name])) {
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:134 {
Twig\Template->displayParentBlock($name, array $context, array $blocks = []) …
› } elseif (false !== $parent = $this->getParent($context)) {
› $parent->displayBlock($name, $context, $blocks, false);
› } else {
}
/home/bardahls/shopware/var/cache/dev_h8a504f2468b79c92c87215f2f3293b0a/twig/b9/b93f69c56a004547d00dabf3ad1505396494fb7b3b3cdcd6e6a8badf6d729fd1.php:73 {
__TwigTemplate_963eee6ad7e7bc7fc89502d22a5e1131->block_base_body($context, array $blocks = []) …
› echo " ";
› $this->displayParentBlock("base_body", $context, $blocks);
› echo "
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:171 {
Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
› try {
› $template->$block($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/shopware/storefront/Resources/views/storefront/base.html.twig:208 {
__TwigTemplate_17ecd536246f1dd4dc1cbebdb3bdf782->doDisplay(array $context, array $blocks = []) …
› {% endblock %}
› </html>
›
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:367 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
}
/home/bardahls/shopware/var/cache/dev_h8a504f2468b79c92c87215f2f3293b0a/twig/9c/9c67caf3131e5efe2fdb6077cd3d884e7076de6c6c30cedfa9639d37ce195e65.php:51 {
__TwigTemplate_227aa675ccfe7456d109d3c2ee1f339a->doDisplay(array $context, array $blocks = []) …
› $this->parent = $this->loadTemplate("@Storefront/storefront/base.html.twig", "@TrustedShops/storefront/base.html.twig", 2);
› $this->parent->display($context, array_merge($this->blocks, $blocks));
›
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:367 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
}
/home/bardahls/shopware/var/cache/dev_h8a504f2468b79c92c87215f2f3293b0a/twig/8f/8f20c9f8424eacef22ab79bddce7ec25ee074f3f15105df886eb133d1eee6706.php:51 {
__TwigTemplate_de770c1615a014776a62e6824901e3d3->doDisplay(array $context, array $blocks = []) …
› $this->parent = $this->loadTemplate("@TrustedShops/storefront/base.html.twig", "@WbmTagManagerEcomm/storefront/base.html.twig", 2);
› $this->parent->display($context, array_merge($this->blocks, $blocks));
›
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:367 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
}
/home/bardahls/shopware/var/cache/dev_h8a504f2468b79c92c87215f2f3293b0a/twig/b9/b93f69c56a004547d00dabf3ad1505396494fb7b3b3cdcd6e6a8badf6d729fd1.php:52 {
__TwigTemplate_963eee6ad7e7bc7fc89502d22a5e1131->doDisplay(array $context, array $blocks = []) …
› $this->parent = $this->loadTemplate("@WbmTagManagerEcomm/storefront/base.html.twig", "@NimbitsPriceOnRequestNext/storefront/base.html.twig", 2);
› $this->parent->display($context, array_merge($this->blocks, $blocks));
›
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:367 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
}
/home/bardahls/shopware/var/cache/dev_h8a504f2468b79c92c87215f2f3293b0a/twig/1f/1f3ed382788ab396cd4f84b1cd0d3d6d7b0096c9e0c43f3f2026406e6b7504b5.php:50 {
__TwigTemplate_f618168cae8bfc7479d9a39c32cf609f->doDisplay(array $context, array $blocks = []) …
› $this->parent = $this->loadTemplate("@NimbitsPriceOnRequestNext/storefront/base.html.twig", "@MolliePayments/storefront/base.html.twig", 2);
› $this->parent->display($context, array_merge($this->blocks, $blocks));
›
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:367 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
}
/home/bardahls/shopware/var/cache/dev_h8a504f2468b79c92c87215f2f3293b0a/twig/01/014d3c7585e09589224535137fbd82da12b3e2852d0b5acc768b62cc50e88294.php:54 {
__TwigTemplate_d5c832c575d2d3b0157e7672b005d105->doDisplay(array $context, array $blocks = []) …
› $this->parent = $this->loadTemplate("@MolliePayments/storefront/base.html.twig", "@Storefront/storefront/page/content/index.html.twig", 2);
› $this->parent->display($context, array_merge($this->blocks, $blocks));
›
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:367 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
}
/home/bardahls/shopware/vendor/twig/twig/src/Template.php:379 {
Twig\Template->render(array $context) …
› try {
› $this->display($context);
› } catch (\Throwable $e) {
}
/home/bardahls/shopware/vendor/twig/twig/src/TemplateWrapper.php:40 {
Twig\TemplateWrapper->render(array $context = []): string …
› // as it should only be used by internal code
› return $this->template->render($context, \func_get_args()[1] ?? []);
› }
}
/home/bardahls/shopware/vendor/twig/twig/src/Environment.php:277 {
Twig\Environment->render($name, array $context = []): string …
› {
› return $this->load($name)->render($context);
› }
}
/home/bardahls/shopware/vendor/shopware/storefront/Controller/StorefrontController.php:235 {
Shopware\Storefront\Controller\StorefrontController->renderView(string $view, array $parameters = []): string …
› if (isset($this->twig)) {
› return $this->twig->render($view, $parameters);
› }
}
/home/bardahls/shopware/vendor/symfony/framework-bundle/Controller/AbstractController.php:266 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], Response $response = null): Response …
› {
› $content = $this->renderView($view, $parameters);
›
}
/home/bardahls/shopware/vendor/shopware/storefront/Controller/StorefrontController.php:72 {
Shopware\Storefront\Controller\StorefrontController->Shopware\Storefront\Controller\{closure} …
› $response = Profiler::trace('twig-rendering', function () use ($view, $event) {
› return $this->render($view, $event->getParameters(), new StorefrontResponse());
› });
}
/home/bardahls/shopware/vendor/shopware/core/Profiling/Profiler.php:59 {
Shopware\Core\Profiling\Profiler::trace(string $name, Closure $closure, string $category = 'shopware', array $tags = []) …
›
› $result = $closure();
› } finally {
}
/home/bardahls/shopware/vendor/shopware/storefront/Controller/StorefrontController.php:73 {
Shopware\Storefront\Controller\StorefrontController->renderStorefront(string $view, array $parameters = []): Response …
› return $this->render($view, $event->getParameters(), new StorefrontResponse());
› });
›
}
/home/bardahls/shopware/vendor/shopware/storefront/Controller/NavigationController.php:52 {
Shopware\Storefront\Controller\NavigationController->home(Request $request, SalesChannelContext $context): Response …
›
› return $this->renderStorefront('@Storefront/storefront/page/content/index.html.twig', ['page' => $page]);
› }
}
/home/bardahls/shopware/vendor/symfony/http-kernel/HttpKernel.php:163 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
}
/home/bardahls/shopware/vendor/symfony/http-kernel/HttpKernel.php:75 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/home/bardahls/shopware/vendor/symfony/http-kernel/Kernel.php:202 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/home/bardahls/shopware/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86 {
Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(HttpKernelInterface $kernel, Request $request, int $type, bool $catch): Response …
› try {
› return $kernel->handle($request, $type, $catch);
› } finally {
}
/home/bardahls/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php:479 {
Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Request $request, bool $catch = false, Response $entry = null) …
› // always a "master" request (as the real master request can be in cache)
› $response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch);
›
}
/home/bardahls/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php:452 {
Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Request $request, bool $catch = false) …
›
› $response = $this->forward($subRequest, $catch);
›
}
/home/bardahls/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php:346 {
Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Request $request, bool $catch = false) …
›
› return $this->fetch($request, $catch);
› }
}
/home/bardahls/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php:224 {
Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› } else {
› $response = $this->lookup($request, $catch);
› }
}
/home/bardahls/shopware/vendor/shopware/core/HttpKernel.php:156 {
Shopware\Core\HttpKernel->doHandle(Request $request, int $type, bool $catch): HttpKernelResult …
›
› $response = $kernel->handle($transformed, $type, $catch);
›
}
/home/bardahls/shopware/vendor/shopware/core/HttpKernel.php:81 {
Shopware\Core\HttpKernel->handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true): HttpKernelResult …
› try {
› return $this->doHandle($request, (int) $type, (bool) $catch);
› } catch (Exception $e) {
}
/home/bardahls/shopware/public/index.php:85 {
›
› $result = $kernel->handle($request);
›
}
}
} |