exception |
Shopware\Core\Content\Product\Exception\ProductNotFoundException {#6568
#message: "Product for id 867c9f68304144818c3c02fcecd6a828 not found."
#code: 0
#file: "/var/www/stag/shopware/releases/351/vendor/shopware/core/Content/Product/SalesChannel/Detail/ProductDetailRoute.php"
#line: 69
-statusCode: 404
-headers: []
#parameters: [
"productId" => "867c9f68304144818c3c02fcecd6a828"
]
trace: {
/var/www/stag/shopware/releases/351/vendor/shopware/core/Content/Product/SalesChannel/Detail/ProductDetailRoute.php:69 {
Shopware\Core\Content\Product\SalesChannel\Detail\ProductDetailRoute->Shopware\Core\Content\Product\SalesChannel\Detail\{closure} …
› if (!($product instanceof SalesChannelProductEntity)) {
› throw new ProductNotFoundException($productId);
› }
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/Profiling/Profiler.php:67 {
Shopware\Core\Profiling\Profiler::trace(string $name, Closure $closure, string $category = 'shopware', array $tags = []) …
›
› $result = $closure();
› } finally {
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/Content/Product/SalesChannel/Detail/ProductDetailRoute.php:54 {
Shopware\Core\Content\Product\SalesChannel\Detail\ProductDetailRoute->load(string $productId, Request $request, SalesChannelContext $context, Criteria $criteria): ProductDetailRouteResponse …
› {
› return Profiler::trace('product-detail-route', function () use ($productId, $request, $context, $criteria) {
› $mainVariantId = $this->checkVariantListingConfig($productId, $context);
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/Content/Product/SalesChannel/Detail/CachedProductDetailRoute.php:62 {
Shopware\Core\Content\Product\SalesChannel\Detail\CachedProductDetailRoute->Shopware\Core\Content\Product\SalesChannel\Detail\{closure} …
›
› $response = $this->tracer->trace($name, fn () => $this->getDecorated()->load($productId, $request, $context, $criteria));
›
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/System/SystemConfig/SystemConfigService.php:416 {
Shopware\Core\System\SystemConfig\SystemConfigService->trace(string $key, Closure $param) …
›
› $result = $param();
›
}
/var/www/stag/shopware/releases/351/vendor/pickware/shopware-extensions-bundle/src/Mail/SystemConfigServiceDecorator.php:140 {
Pickware\ShopwareExtensionsBundle\Mail\SystemConfigServiceDecorator->trace(string $key, Closure $param) …
› {
› return $this->decoratedSystemConfigService->trace($key, $param);
› }
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33 {
Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure} …
› {
› return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param)));
› }
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/Framework/Adapter/Translation/Translator.php:96 {
Shopware\Core\Framework\Adapter\Translation\Translator->trace(string $key, Closure $param) …
›
› $result = $param();
›
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33 {
Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure} …
› {
› return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param)));
› }
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php:56 {
Shopware\Core\Framework\Adapter\Cache\CacheTagCollection->trace(string $key, Closure $param) …
›
› $result = $param();
›
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33 {
Shopware\Core\Framework\Adapter\Cache\CacheTracer->trace(string $key, Closure $param) …
› {
› return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param)));
› }
}
/var/www/stag/shopware/releases/351/vendor/shopware/storefront/Framework/Cache/CacheTracer.php:35 {
Shopware\Storefront\Framework\Cache\CacheTracer->Shopware\Storefront\Framework\Cache\{closure} …
› {
› return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param));
› }
}
/var/www/stag/shopware/releases/351/vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php:76 {
Shopware\Storefront\Theme\ThemeConfigValueAccessor->trace(string $key, Closure $param) …
›
› $result = $param();
›
}
/var/www/stag/shopware/releases/351/vendor/shopware/storefront/Framework/Cache/CacheTracer.php:35 {
Shopware\Storefront\Framework\Cache\CacheTracer->trace(string $key, Closure $param) …
› {
› return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param));
› }
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/Content/Product/SalesChannel/Detail/CachedProductDetailRoute.php:62 {
Shopware\Core\Content\Product\SalesChannel\Detail\CachedProductDetailRoute->Shopware\Core\Content\Product\SalesChannel\Detail\{closure} …
›
› $response = $this->tracer->trace($name, fn () => $this->getDecorated()->load($productId, $request, $context, $criteria));
›
}
/var/www/stag/shopware/releases/351/vendor/symfony/cache-contracts/CacheTrait.php:70 {
Shopware\Core\Framework\Adapter\Cache\CacheDecorator->doGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, ?array &$metadata = null, ?LoggerInterface $logger = null): mixed …
› $save = true;
› $item->set($callback($item, $save));
› if ($save) {
}
/var/www/stag/shopware/releases/351/vendor/symfony/cache-contracts/CacheTrait.php:33 {
Shopware\Core\Framework\Adapter\Cache\CacheDecorator->get(string $key, callable $callback, ?float $beta = null, ?array &$metadata = null): mixed …
› {
› return $this->doGet($this, $key, $callback, $beta, $metadata);
› }
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/Content/Product/SalesChannel/Detail/CachedProductDetailRoute.php:59 {
Shopware\Core\Content\Product\SalesChannel\Detail\CachedProductDetailRoute->load(string $productId, Request $request, SalesChannelContext $context, Criteria $criteria): ProductDetailRouteResponse …
›
› $value = $this->cache->get($key, function (ItemInterface $item) use ($productId, $request, $context, $criteria) {
› $name = self::buildName($productId);
}
/var/www/stag/shopware/releases/351/vendor/shopware/storefront/Page/Product/ProductPageLoader.php:65 {
Shopware\Storefront\Page\Product\ProductPageLoader->load(Request $request, SalesChannelContext $context): ProductPage …
›
› $result = $this->productDetailRoute->load($productId, $request, $context, $criteria);
› $product = $result->getProduct();
}
/var/www/stag/shopware/releases/351/vendor/shopware/storefront/Controller/ProductController.php:54 {
Shopware\Storefront\Controller\ProductController->index(SalesChannelContext $context, Request $request): Response …
› {
› $page = $this->productPageLoader->load($request, $context);
›
}
/var/www/stag/shopware/releases/351/vendor/symfony/http-kernel/HttpKernel.php:181 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
}
/var/www/stag/shopware/releases/351/vendor/symfony/http-kernel/HttpKernel.php:76 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $response = $this->handleRaw($request, $type);
› } catch (\Throwable $e) {
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:44 {
Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› if (!KernelFactory::$active) {
› return parent::handle($request, $type, $catch);
› }
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/Framework/Adapter/Kernel/HttpCacheKernel.php:50 {
Shopware\Core\Framework\Adapter\Kernel\HttpCacheKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› if (!KernelFactory::$active) {
› return $this->getKernel()->handle($request, $type, $catch);
› }
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/Kernel.php:157 {
Shopware\Core\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
›
› return $this->getHttpKernel()->handle($request, $type, $catch);
› }
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/HttpKernel.php:146 {
Shopware\Core\HttpKernel->doHandle(Request $request, int $type, bool $catch): HttpKernelResult …
›
› $response = $kernel->handle($transformed, $type, $catch);
›
}
/var/www/stag/shopware/releases/351/vendor/shopware/core/HttpKernel.php:67 {
Shopware\Core\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): HttpKernelResult …
› try {
› return $this->doHandle($request, $type, $catch);
› } catch (Exception $e) {
}
/var/www/stag/shopware/releases/351/public/index.php:71 {
|