Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getParent() on null in /app/src/AlvaAmco/RootBundle/Controller/ProductsController.php:79 Stack trace: #0 [internal function]: AlvaAmco\RootBundle\Controller\ProductsController->detailAction(Object(Symfony\Component\HttpFoundation\Request), 'eczemin', NULL) #1 /app/var/bootstrap.php.cache(3040): call_user_func_array(Array, Array) #2 /app/var/bootstrap.php.cache(2995): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #3 /app/var/bootstrap.php.cache(2335): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #4 /app/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(467): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #5 /app/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php(60): Symfony\Component\Http in /app/var/cache/prod/classes.php on line 1305