Exceptions
Exception
Symfony\Component\ErrorHandler\Error\ FatalError
in
src/Controller/ProductController.php
(line 216)
$mainTaxon = $variant->getProduct()->getMainTaxon();
// if($mainTaxon->getId() == 172){
// $produitConfigurateur = 1;
// }
$taxonParent = $mainTaxon;
while ($taxonParent != $mainTaxon->getRoot()) {
$breadcrumbs->prependRouteItem($taxonParent, "sylius_shop_product_index", [
'slug' => $taxonParent->getSlug()
]);
$taxonParent = $taxonParent->getParent();
// 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 |