exception |
Shopware\Core\Content\Product\Exception\ProductNotFoundException {#3256
#message: "Product for id 01b01048d19e8be1a85a33104c7750b1 not found."
#code: 0
#file: "/var/www/dev.schwalbe.com/releases/306/vendor/shopware/core/Content/Product/SalesChannel/Detail/ProductDetailRoute.php"
#line: 83
-statusCode: 404
-headers: []
#parameters: [
"productId" => "01b01048d19e8be1a85a33104c7750b1"
]
trace: {
/var/www/dev.schwalbe.com/releases/306/vendor/shopware/core/Content/Product/SalesChannel/Detail/ProductDetailRoute.php:83 {
Shopware\Core\Content\Product\SalesChannel\Detail\ProductDetailRoute->Shopware\Core\Content\Product\SalesChannel\Detail\{closure} …
› if (!($product instanceof SalesChannelProductEntity)) {
› throw new ProductNotFoundException($productId);
› }
}
/var/www/dev.schwalbe.com/releases/306/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/dev.schwalbe.com/releases/306/vendor/shopware/core/Content/Product/SalesChannel/Detail/ProductDetailRoute.php:61 {
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);
arguments: {
$name: "product-detail-route"
$closure: Closure() {#3254 …}
}
}
/var/www/dev.schwalbe.com/releases/306/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));
›
arguments: {
$key: "product-detail-route-01b01048d19e8be1a85a33104c7750b1"
$param: Closure() {#3253 …}
}
}
/var/www/dev.schwalbe.com/releases/306/vendor/shopware/core/System/SystemConfig/SystemConfigService.php:416 {
Shopware\Core\System\SystemConfig\SystemConfigService->trace(string $key, Closure $param) …
›
› $result = $param();
›
}
/var/www/dev.schwalbe.com/releases/306/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)));
› }
arguments: {
$key: "product-detail-route-01b01048d19e8be1a85a33104c7750b1"
$param: Closure() {#3250 …}
}
}
/var/www/dev.schwalbe.com/releases/306/vendor/shopware/core/Framework/Adapter/Translation/Translator.php:96 {
Shopware\Core\Framework\Adapter\Translation\Translator->trace(string $key, Closure $param) …
›
› $result = $param();
›
}
/var/www/dev.schwalbe.com/releases/306/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)));
› }
arguments: {
$key: "product-detail-route-01b01048d19e8be1a85a33104c7750b1"
$param: Closure() {#3250 …}
}
}
/var/www/dev.schwalbe.com/releases/306/vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php:56 {
Shopware\Core\Framework\Adapter\Cache\CacheTagCollection->trace(string $key, Closure $param) …
›
› $result = $param();
›
}
/var/www/dev.schwalbe.com/releases/306/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)));
› }
arguments: {
$key: "product-detail-route-01b01048d19e8be1a85a33104c7750b1"
$param: Closure() {#3252 …}
}
}
/var/www/dev.schwalbe.com/releases/306/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));
› }
arguments: {
$key: "product-detail-route-01b01048d19e8be1a85a33104c7750b1"
$param: Closure() {#3253 …}
}
}
/var/www/dev.schwalbe.com/releases/306/vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php:76 {
Shopware\Storefront\Theme\ThemeConfigValueAccessor->trace(string $key, Closure $param) …
›
› $result = $param();
›
}
/var/www/dev.schwalbe.com/releases/306/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));
› }
arguments: {
$key: "product-detail-route-01b01048d19e8be1a85a33104c7750b1"
$param: Closure() {#3247 …}
}
}
/var/www/dev.schwalbe.com/releases/306/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));
›
arguments: {
$key: "product-detail-route-01b01048d19e8be1a85a33104c7750b1"
$param: Closure() {#3253 …}
}
}
/var/www/dev.schwalbe.com/releases/306/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) {
arguments: {
Symfony\Component\Cache\CacheItem {#3251 …}
true
}
}
/var/www/dev.schwalbe.com/releases/306/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);
› }
arguments: {
$pool: Shopware\Core\Framework\Adapter\Cache\CacheDecorator {#746 …}
$key: "product-detail-route-01b01048d19e8be1a85a33104c7750b1-7f73e8f838a56c986fe65f446c5ddb3e"
$callback: Closure(ItemInterface $item) {#3246 …}
$beta: 1.0
&$metadata: []
}
}
/var/www/dev.schwalbe.com/releases/306/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);
arguments: {
$key: "product-detail-route-01b01048d19e8be1a85a33104c7750b1-7f73e8f838a56c986fe65f446c5ddb3e"
$callback: Closure(ItemInterface $item) {#3246 …}
}
}
/var/www/dev.schwalbe.com/releases/306/vendor/shopware/storefront/Page/Product/ProductPageLoader.php:70 {
Shopware\Storefront\Page\Product\ProductPageLoader->load(Request $request, SalesChannelContext $context): ProductPage …
›
› $result = $this->productDetailRoute->load($productId, $request, $context, $criteria);
› $product = $result->getProduct();
arguments: {
$productId: "01b01048d19e8be1a85a33104c7750b1"
$request: Symfony\Component\HttpFoundation\Request {#1596 …}
$context: Shopware\Core\System\SalesChannel\SalesChannelContext {#2353 …}
$criteria: Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria {#2339 …}
}
}
/var/www/dev.schwalbe.com/releases/306/vendor/shopware/storefront/Controller/ProductController.php:54 {
Shopware\Storefront\Controller\ProductController->index(SalesChannelContext $context, Request $request): Response …
› {
› $page = $this->productPageLoader->load($request, $context);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#1596 …}
$context: Shopware\Core\System\SalesChannel\SalesChannelContext {#2353 …}
}
}
/var/www/dev.schwalbe.com/releases/306/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);
›
arguments: {
$context: Shopware\Core\System\SalesChannel\SalesChannelContext {#2353 …}
$request: Symfony\Component\HttpFoundation\Request {#1596 …}
}
}
/var/www/dev.schwalbe.com/releases/306/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) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#1596 …}
$type: 1
}
}
/var/www/dev.schwalbe.com/releases/306/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);
› }
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#1596 …}
$type: 1
$catch: true
}
}
/var/www/dev.schwalbe.com/releases/306/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);
› }
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#1596 …}
$type: 1
$catch: true
}
}
/var/www/dev.schwalbe.com/releases/306/vendor/shopware/core/Kernel.php:158 {
Shopware\Core\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
›
› return $this->getHttpKernel()->handle($request, $type, $catch);
› }
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#1596 …}
$type: 1
$catch: true
}
}
/var/www/dev.schwalbe.com/releases/306/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 {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#1596 …}
$type: 1
$catch: true
}
}
/var/www/dev.schwalbe.com/releases/306/vendor/symfony/http-kernel/HttpCache/HttpCache.php:475 {
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);
›
arguments: {
$kernel: Shopware\Core\Kernel {#26 …}
$request: Symfony\Component\HttpFoundation\Request {#1596 …}
$type: 1
$catch: true
}
}
/var/www/dev.schwalbe.com/releases/306/vendor/symfony/http-kernel/HttpCache/HttpCache.php:450 {
Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Request $request, bool $catch = false): Response …
›
› $response = $this->forward($subRequest, $catch);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#1596 …}
$catch: true
}
}
/var/www/dev.schwalbe.com/releases/306/vendor/symfony/http-kernel/HttpCache/HttpCache.php:348 {
Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Request $request, bool $catch = false): Response …
›
› return $this->fetch($request, $catch);
› }
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#970 …}
$catch: true
}
}
/var/www/dev.schwalbe.com/releases/306/vendor/symfony/http-kernel/HttpCache/HttpCache.php:221 {
Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› } else {
› $response = $this->lookup($request, $catch);
› }
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#970 …}
$catch: true
}
}
/var/www/dev.schwalbe.com/releases/306/vendor/shopware/core/HttpKernel.php:146 {
Shopware\Core\HttpKernel->doHandle(Request $request, int $type, bool $catch): HttpKernelResult …
›
› $response = $kernel->handle($transformed, $type, $catch);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#970 …}
$type: 1
$catch: true
}
}
/var/www/dev.schwalbe.com/releases/306/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) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#7 …}
$type: 1
$catch: true
}
}
/var/www/dev.schwalbe.com/releases/306/public/index.php:71 {
|