Fatal error: Uncaught Error: Call to a member function getTitle() on null in /var/www/html/src/Euro/ProductsBundle/Controller/PublicSubCategoryController.php:99 Stack trace: #0 [internal function]: Euro\ProductsBundle\Controller\PublicSubCategoryController->categoryAction('114-multisports') #1 /var/www/html/app/bootstrap.php.cache(2974): call_user_func_array(Array, Array) #2 /var/www/html/app/bootstrap.php.cache(2936): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #3 /var/www/html/app/bootstrap.php.cache(3085): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #4 /var/www/html/app/bootstrap.php.cache(2335): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #5 /var/www/html/web/app.php(42): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #6 {main} thrown in /var/www/html/src/Euro/ProductsBundle/Controller/PublicSubCategoryController.php on line 99