Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getSlug() on bool in /var/www/html/src/Twig/ProductExtension.php:58 Stack trace: #0 /var/www/html/var/cache/prod/twig/8f/8ffb676e86c2d8a6b88119dbc559031ab833cdd03991e803a2a142e88d996575.php(534): App\Twig\ProductExtension->productPath(Object(Savencia\CoreBundle\Entity\ProductCategory), Object(Proxies\__CG__\Savencia\CoreBundle\Entity\Product)) #1 /var/www/html/vendor/twig/twig/src/Template.php(184): __TwigTemplate_67a1fa74de2286eb81ba73c24f5b19f4a323d05c1042375c1be90cf7f99de015->block_content(Array, Array) #2 /var/www/html/var/cache/prod/twig/24/24e8b10e17fe26129a7f0c853407461c17d917a6ea85fed171c5ee7db3e7a03b.php(141): Twig\Template->displayBlock('content', Array, Array) #3 /var/www/html/vendor/twig/twig/src/Template.php(184): __TwigTemplate_a430513630f4bbb6174e795d686a886f77dd9ffebd844cdd4d4f13ea546cf9c1->block_body(Array, Array) #4 /var/www/html/var/cache/prod/twig/67/675b6fbcada712217c17f8b9b2d7863593dcb0d4883c758018e in /var/www/html/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 250