https://juwelier-mersin.de/detail/168d2d18d0dd47e1bf9c2c548c7460d6%252525252526amp%25252526amp%25252526amp

Exceptions

Value is not a valid UUID: 168d2d18d0dd47e1bf9c2c548c7460d6%2525252526amp%252526amp%252526amp

  • Exception
  • Logs
  • Stack Trace

Shopware\Core\Framework\Uuid\Exception\ InvalidUuidException

  1.     {
  2.         if ($bin = @hex2bin($uuid)) {
  3.             return $bin;
  4.         }
  5.         throw new InvalidUuidException($uuid);
  6.     }
  7.     /**
  8.      * Generates a md5 binary, to hash the string and returns a UUID in hex
  9.      */
  1.                         $shiftedId array_shift($id);
  2.                         return Uuid::fromHexToBytes($shiftedId);
  3.                     }
  4.                     return Uuid::fromHexToBytes($id);
  5.                 }, $primaryKeys);
  6.             }
  7.             if (!$primaryKeyField instanceof StorageAware) {
  8.                 throw new \RuntimeException('Primary key fields has to be an instance of StorageAware');
EntityDefinitionQueryHelper->Shopware\Core\Framework\DataAbstractionLayer\Dbal\{closure}()
  1.             $primaryKeyField $definition->getPrimaryKeys()->first();
  2.             /** @feature-deprecated (flag:FEATURE_NEXT_14872) remove FeatureCheck
  3.              * if ($primaryKeyField instanceof IdField || $primaryKeyField instanceof FkField) {
  4.              */
  5.             if ($primaryKeyField instanceof IdField || (Feature::isActive('FEATURE_NEXT_14872') && $primaryKeyField instanceof FkField)) {
  6.                 $primaryKeys array_map(function ($id) {
  7.                     if (\is_array($id)) {
  8.                         /** @var string $shiftedId */
  9.                         $shiftedId array_shift($id);
  10.                         return Uuid::fromHexToBytes($shiftedId);
  1.         }
  2.         $query $this->criteriaQueryBuilder->build($query$definition$criteria$context);
  3.         if (!empty($criteria->getIds())) {
  4.             $this->queryHelper->addIdCondition($criteria$definition$query);
  5.         }
  6.         $this->addGroupBy($definition$criteria$context$query$table);
  7.         //add pagination
  1.     }
  2.     public function search(EntityDefinition $definitionCriteria $criteriaContext $context): IdSearchResult
  3.     {
  4.         if (!$this->helper->allowSearch($definition$context$criteria)) {
  5.             return $this->decorated->search($definition$criteria$context);
  6.         }
  7.         if ($criteria->getLimit() === 0) {
  8.             return new IdSearchResult(0, [], $criteria$context);
  9.         }
  1.         return $entities;
  2.     }
  3.     private function doSearch(Criteria $criteriaSalesChannelContext $salesChannelContext): IdSearchResult
  4.     {
  5.         $result $this->searcher->search($this->definition$criteria$salesChannelContext->getContext());
  6.         $event = new SalesChannelEntityIdSearchResultLoadedEvent($this->definition$result$salesChannelContext);
  7.         $this->eventDispatcher->dispatch($event$event->getName());
  8.         return $result;
  1.             $entities $this->read($criteria$salesChannelContext);
  2.             return new EntitySearchResult($this->definition->getEntityName(), $entities->count(), $entities$aggregations$criteria$salesChannelContext->getContext());
  3.         }
  4.         $ids $this->doSearch($criteria$salesChannelContext);
  5.         if (empty($ids->getIds())) {
  6.             /** @var EntityCollection<Entity> $collection */
  7.             $collection $this->definition->getCollectionClass();
  1.             $this->inner $inner;
  2.         }
  3.         public function search(Criteria $criteriaSalesChannelContext $context): EntitySearchResult
  4.         {
  5.             return $this->inner->search($criteria$context);
  6.         }
  7.         public function aggregate(Criteria $criteriaSalesChannelContext $context): AggregationResultCollection
  8.         {
  9.             return $this->inner->aggregate($criteria$context);
  1.      * @throws InconsistentCriteriaIdsException
  2.      */
  3.     private function checkVariantListingConfig(string $productIdSalesChannelContext $context): ?string
  4.     {
  5.         /** @var SalesChannelProductEntity|null $product */
  6.         $product $this->productRepository->search(new Criteria([$productId]), $context)->first();
  7.         if ($product === null || $product->getParentId() !== null) {
  8.             return null;
  9.         }
  1.      * @Route("/store-api/product/{productId}", name="store-api.product.detail", methods={"POST"})
  2.      */
  3.     public function load(string $productIdRequest $requestSalesChannelContext $contextCriteria $criteria): ProductDetailRouteResponse
  4.     {
  5.         return Profiler::trace('product-detail-route', function () use ($productId$request$context$criteria) {
  6.             $mainVariantId $this->checkVariantListingConfig($productId$context);
  7.             $productId $mainVariantId ?? $this->findBestVariant($productId$context);
  8.             $this->addFilters($context$criteria);
in vendor/shopware/core/Profiling/Profiler.php -> Shopware\Core\Content\Product\SalesChannel\Detail\{closure} (line 57)
  1.         try {
  2.             foreach (self::$profilers as $profiler) {
  3.                 $profiler->start($name$category$tags);
  4.             }
  5.             $result $closure();
  6.         } finally {
  7.             foreach (self::$profilers as $profiler) {
  8.                 $profiler->stop($name);
  9.             }
  10.         }
  1.                     $product->setCmsPage($page);
  2.                 }
  3.             }
  4.             return new ProductDetailRouteResponse($product$configurator);
  5.         });
  6.     }
  7.     private function addFilters(SalesChannelContext $contextCriteria $criteria): void
  8.     {
  9.         $criteria->addFilter(
  1.         $value $this->cache->get($key, function (ItemInterface $item) use ($productId$request$context$criteria) {
  2.             $name self::buildName($productId);
  3.             $response $this->tracer->trace($name, function () use ($productId$request$context$criteria) {
  4.                 return $this->getDecorated()->load($productId$request$context$criteria);
  5.             });
  6.             $item->tag($this->generateTags($productId$request$response$context$criteria));
  7.             return CacheValueCompressor::compress($response);
in vendor/shopware/core/System/SystemConfig/SystemConfigService.php -> Shopware\Core\Content\Product\SalesChannel\Detail\{closure} (line 331)
  1.     public function trace(string $key\Closure $param)
  2.     {
  3.         $this->traces[$key] = [];
  4.         $this->keys[$key] = true;
  5.         $result $param();
  6.         unset($this->keys[$key]);
  7.         return $result;
  8.     }
  1.      */
  2.     public function trace(string $key\Closure $param)
  3.     {
  4.         return $this->collection->trace($key, function () use ($key$param) {
  5.             return $this->translator->trace($key, function () use ($key$param) {
  6.                 return $this->config->trace($key$param);
  7.             });
  8.         });
  9.     }
  10.     public function get(string $key): array
in vendor/shopware/core/Framework/Adapter/Translation/Translator.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 102)
  1.     public function trace(string $key\Closure $param)
  2.     {
  3.         $this->traces[$key] = [];
  4.         $this->keys[$key] = true;
  5.         $result $param();
  6.         unset($this->keys[$key]);
  7.         return $result;
  8.     }
  1.     public function trace(string $key\Closure $param)
  2.     {
  3.         return $this->collection->trace($key, function () use ($key$param) {
  4.             return $this->translator->trace($key, function () use ($key$param) {
  5.                 return $this->config->trace($key$param);
  6.             });
  7.         });
  8.     }
  9.     public function get(string $key): array
  10.     {
in vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 43)
  1.     public function trace(string $key\Closure $param)
  2.     {
  3.         $this->traces[$key] = [];
  4.         $this->keys[$key] = true;
  5.         $result $param();
  6.         unset($this->keys[$key]);
  7.         return $result;
  8.     }
  1.     {
  2.         return $this->collection->trace($key, function () use ($key$param) {
  3.             return $this->translator->trace($key, function () use ($key$param) {
  4.                 return $this->config->trace($key$param);
  5.             });
  6.         });
  7.     }
  8.     public function get(string $key): array
  9.     {
  10.         return array_merge(
  1.     }
  2.     public function trace(string $key\Closure $param)
  3.     {
  4.         return $this->themeConfigAccessor->trace($key, function () use ($key$param) {
  5.             return $this->getDecorated()->trace($key$param);
  6.         });
  7.     }
  8.     public function get(string $key): array
  9.     {
in vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php -> Shopware\Storefront\Framework\Cache\{closure} (line 57)
  1.     public function trace(string $key\Closure $param)
  2.     {
  3.         $this->traces[$key] = [];
  4.         $this->keys[$key] = true;
  5.         $result $param();
  6.         unset($this->keys[$key]);
  7.         return $result;
  8.     }
  1.     public function trace(string $key\Closure $param)
  2.     {
  3.         return $this->themeConfigAccessor->trace($key, function () use ($key$param) {
  4.             return $this->getDecorated()->trace($key$param);
  5.         });
  6.     }
  7.     public function get(string $key): array
  8.     {
  9.         return array_unique(array_merge(
  1.         $value $this->cache->get($key, function (ItemInterface $item) use ($productId$request$context$criteria) {
  2.             $name self::buildName($productId);
  3.             $response $this->tracer->trace($name, function () use ($productId$request$context$criteria) {
  4.                 return $this->getDecorated()->load($productId$request$context$criteria);
  5.             });
  6.             $item->tag($this->generateTags($productId$request$response$context$criteria));
  7.             return CacheValueCompressor::compress($response);
  8.         });
in vendor/symfony/cache-contracts/CacheTrait.php -> Shopware\Core\Content\Product\SalesChannel\Detail\{closure} (line 72)
  1.             }
  2.         }
  3.         if ($recompute) {
  4.             $save true;
  5.             $item->set($callback($item$save));
  6.             if ($save) {
  7.                 $pool->save($item);
  8.             }
  9.         }
  1.      *
  2.      * @return mixed
  3.      */
  4.     public function get(string $key, callable $callbackfloat $beta null, array &$metadata null)
  5.     {
  6.         return $this->doGet($this$key$callback$beta$metadata);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.             });
  2.             $item->tag($this->generateTags($productId$request$response$context$criteria));
  3.             return CacheValueCompressor::compress($response);
  4.         });
  5.         return CacheValueCompressor::uncompress($value);
  6.     }
  7.     public static function buildName(string $parentId): string
  1.             ->addAssociation('mainCategories.category')
  2.             ->addAssociation('media');
  3.         $this->eventDispatcher->dispatch(new ProductPageCriteriaEvent($productId$criteria$context));
  4.         $result $this->productDetailRoute->load($productId$request$context$criteria);
  5.         $product $result->getProduct();
  6.         if ($product->getMedia()) {
  7.             $product->getMedia()->sort(function (ProductMediaEntity $aProductMediaEntity $b) {
  8.                 return $a->getPosition() <=> $b->getPosition();
  1.      * @HttpCache()
  2.      * @Route("/detail/{productId}", name="frontend.detail.page", methods={"GET"})
  3.      */
  4.     public function index(SalesChannelContext $contextRequest $request): Response
  5.     {
  6.         $page $this->productPageLoader->load($request$context);
  7.         $this->hook(new ProductPageLoadedHook($page$context));
  8.         $ratingSuccess $request->get('success');
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.             && $container->getParameter('shopware.http.cache.enabled');
  2.         if ($enabled && $container->has(CacheStore::class)) {
  3.             $kernel = new static::$httpCacheClass($kernel$container->get(CacheStore::class), null, ['debug' => $this->debug]);
  4.         }
  5.         $response $kernel->handle($transformed$type$catch);
  6.         // fire event to trigger runtime events like seo url headers
  7.         $event = new BeforeSendResponseEvent($transformed$response);
  8.         $container->get('event_dispatcher')->dispatch($event);
in vendor/shopware/core/HttpKernel.php -> doHandle (line 75)
  1.         if (!\is_bool($catch)) {
  2.             Feature::triggerDeprecationOrThrow('v6.5.0.0''The third parameter `$catch` of `HttpKernel->handle()` will be typed to `bool`');
  3.         }
  4.         try {
  5.             return $this->doHandle($request, (int) $type, (bool) $catch);
  6.         } catch (DBALException $e) {
  7.             $connectionParams self::getConnection()->getParams();
  8.             $message str_replace([$connectionParams['url'] ?? null$connectionParams['password'] ?? null$connectionParams['user'] ?? null], '******'$e->getMessage());
HttpKernel->handle() in public/index.php (line 85)
  1.     }
  2. } else {
  3.     $kernel = new InstallerKernel($appEnv$debug);
  4. }
  5. $result $kernel->handle($request);
  6. if ($result instanceof Response) {
  7.     $result->send();
  8.     $kernel->terminate($request$result);
  9. } else {