https://ppmc-staging.webapic.com/p/masque-tissu-adulte-10-ans-et-ligne-verticale-blanc-gris-36181

Exceptions

Error: Nesting level too deep - recursive dependency?

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

  1.             $mainTaxon $variant->getProduct()->getMainTaxon();
  2.             // if($mainTaxon->getId() == 172){
  3.             //     $produitConfigurateur = 1; 
  4.             // }
  5.             $taxonParent $mainTaxon;
  6.             while ($taxonParent != $mainTaxon->getRoot()) {
  7.                 $breadcrumbs->prependRouteItem($taxonParent"sylius_shop_product_index", [
  8.                     'slug' => $taxonParent->getSlug()
  9.                 ]);
  10.                 $taxonParent $taxonParent->getParent();
  11.                 // dump($taxonParent->getId());

Logs

No log messages

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Error: Nesting level too deep - recursive dependency?

  at src/Controller/ProductController.php:216