exception |
Twig\Error\LoaderError {#8630 ▼
-lineno: -1
-name: "@SwagHoggi/storefront/page/product-detail/index.html.twig"
-rawMessage: "Unable to load template "storefront/product-detail/index.html.twig". (Looked into: SwagHoggi, Framework, Administration, Elasticsearch, Profiling, Storefront)"
-sourcePath: "/var/www/schmelzer.media/subdomains/hoggi/httpdocs/custom/plugins/SwagHoggi/src/Resources/views/storefront/page/product-detail/index.html.twig"
-sourceCode: """
{% sw_extends '@Storefront/storefront/product-detail/index.html.twig' %}\n
\n
{% sw_extends '@Storefront/storefront/base.html.twig' %}\n
\n
\n
{% block base_head %}\n
{% sw_include '@Storefront/storefront/page/product-detail/meta.html.twig' %}\n
{% endblock %}\n
\n
{% block base_content %}\n
{% block page_product_detail %}\n
<div class="product-detail" itemscope itemtype="https://schema.org/Product">\n
{% block page_product_detail_inner %}\n
{% block page_product_detail_content %}\n
<div class="product-detail-content">\n
{% block page_product_detail_headline %}\n
<div class="row align-items-center product-detail-headline">\n
{% sw_include '@Storefront/storefront/page/product-detail/headline.html.twig' %}\n
</div>\n
{% endblock %}\n
\n
{% set mediaItems = page.product.media.media %}\n
\n
{% block page_product_detail_main %}\n
<div class="row product-detail-main">\n
{% block page_product_detail_media %}\n
<div class="col-lg-3 product-detail-media">\n
{% if page.product.media %}\n
{% sw_include '@Storefront/storefront/element/cms-element-image-gallery.html.twig' with {\n
'mediaItems': mediaItems,\n
'zoom': true,\n
'zoomModal': true,\n
'displayMode': 'contain',\n
'gutter': 5,\n
'minHeight': '430px',\n
'navigationArrows': 'inside',\n
'navigationDots': 'inside',\n
'galleryPosition': 'left',\n
'isProduct': true,\n
'fallbackImageTitle': page.product.translated.name,\n
'startIndexThumbnails': 1,\n
'startIndexSlider': 1,\n
'keepAspectRatioOnZoom': false\n
} %}\n
{% endif %}\n
</div>\n
{% endblock %}\n
\n
{% block page_product_detail_buy %}\n
<div class="col-lg-7 product-detail-buy">\n
{% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}\n
</div>\n
{% endblock %}\n
</div>\n
{% endblock %}\n
</div>\n
{% endblock %}\n
\n
{% block page_product_detail_tabs %}\n
<div class="product-detail-tabs">\n
{% sw_include '@Storefront/storefront/page/product-detail/tabs.html.twig' %}\n
</div>\n
{% endblock %}\n
\n
{% block page_product_detail_cross_selling %}\n
{% if page.crossSellings.elements is defined and page.crossSellings.elements|filter(item => item.total > 0)|length > 0 %}\n
<div class="product-detail-tabs product-detail-cross-selling">\n
{% sw_include '@Storefront/storefront/page/product-detail/cross-selling/tabs.html.twig' with {\n
crossSellings: page.crossSellings\n
} %}\n
</div>\n
{% endif %}\n
{% endblock %}\n
{% endblock %}\n
</div>\n
{% endblock %}\n
{% endblock %}
"""
#message: "Unable to load template "storefront/product-detail/index.html.twig". (Looked into: SwagHoggi, Framework, Administration, Elasticsearch, Profiling, Storefront) in "@SwagHoggi/storefront/page/product-detail/index.html.twig""
#code: 0
#file: "/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/shopware/core/Framework/Adapter/Twig/TemplateFinder.php"
#line: 103
trace: {▶
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/shopware/core/Framework/Adapter/Twig/TemplateFinder.php:103 {▶
Shopware\Core\Framework\Adapter\Twig\TemplateFinder->find(string $template, $ignoreMissing = false, string $source = null): string …
›
› throw new LoaderError(sprintf('Unable to load template "%s". (Looked into: %s)', $templatePath, implode(', ', array_values($modifiedQueue))));
› }
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/shopware/core/Framework/Adapter/Twig/TokenParser/ExtendsTokenParser.php:42 {▶
Shopware\Core\Framework\Adapter\Twig\TokenParser\ExtendsTokenParser->parse(Token $token) …
› //set pointer to next value (contains the template file name)
› $parent = $this->finder->find($template, false, $source);
›
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/twig/twig/src/Parser.php:170 {▶
Twig\Parser->subparse($test, bool $dropNeedle = false): Node …
› $subparser->setParser($this);
› $node = $subparser->parse($token);
› if (null !== $node) {
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/twig/twig/src/Parser.php:83 {▶
Twig\Parser->parse(TokenStream $stream, $test = null, bool $dropNeedle = false): ModuleNode …
› try {
› $body = $this->subparse($test, $dropNeedle);
›
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/twig/twig/src/Environment.php:488 {▶
Twig\Environment->parse(TokenStream $stream): ModuleNode …
›
› return $this->parser->parse($stream);
› }
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/twig/twig/src/Environment.php:516 {▶
Twig\Environment->compileSource(Source $source): string …
› try {
› return $this->compile($this->parse($this->tokenize($source)));
› } catch (Error $e) {
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/twig/twig/src/Environment.php:348 {▶
Twig\Environment->loadTemplate(string $cls, string $name, int $index = null): Template …
› $source = $this->getLoader()->getSourceContext($name);
› $content = $this->compileSource($source);
› $this->cache->write($key, $content);
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/twig/twig/src/Environment.php:309 {▶
Twig\Environment->load($name): TemplateWrapper …
›
› return new TemplateWrapper($this, $this->loadTemplate($this->getTemplateClass($name), $name));
› }
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/twig/twig/src/Environment.php:277 {▶
Twig\Environment->render($name, array $context = []): string …
› {
› return $this->load($name)->render($context);
› }
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/shopware/storefront/Controller/StorefrontController.php:233 {▶
Shopware\Storefront\Controller\StorefrontController->renderView(string $view, array $parameters = []): string …
› if (isset($this->twig)) {
› return $this->twig->render($view, $parameters);
› }
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/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);
›
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/shopware/storefront/Controller/StorefrontController.php:70 {▶
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());
› });
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/shopware/core/Profiling/Profiler.php:57 {▶
Shopware\Core\Profiling\Profiler::trace(string $name, Closure $closure, string $category = 'shopware', array $tags = []) …
›
› $result = $closure();
› } finally {
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/shopware/storefront/Controller/StorefrontController.php:71 {▶
Shopware\Storefront\Controller\StorefrontController->renderStorefront(string $view, array $parameters = []): Response …
› return $this->render($view, $event->getParameters(), new StorefrontResponse());
› });
›
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/shopware/storefront/Controller/ProductController.php:104 {▶
Shopware\Storefront\Controller\ProductController->index(SalesChannelContext $context, Request $request): Response …
›
› return $this->renderStorefront('@Storefront/storefront/page/product-detail/index.html.twig', ['page' => $page, 'ratingSuccess' => $ratingSuccess]);
› }
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:153 {▶
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/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) {
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/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 {
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/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 {
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/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);
›
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php:452 {▶
Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Request $request, bool $catch = false) …
›
› $response = $this->forward($subRequest, $catch);
›
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php:346 {▶
Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Request $request, bool $catch = false) …
›
› return $this->fetch($request, $catch);
› }
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/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);
› }
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/shopware/core/HttpKernel.php:149 {▶
Shopware\Core\HttpKernel->doHandle(Request $request, int $type, bool $catch): HttpKernelResult …
›
› $response = $kernel->handle($transformed, $type, $catch);
›
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/vendor/shopware/core/HttpKernel.php:75 {▶
Shopware\Core\HttpKernel->handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true): HttpKernelResult …
› try {
› return $this->doHandle($request, (int) $type, (bool) $catch);
› } catch (DBALException $e) {
}
/var/www/schmelzer.media/subdomains/hoggi/httpdocs/public/index.php:85 {▶
›
› $result = $kernel->handle($request);
›
}
}
} |