Fatal error: Call to a member function getNombre() on null in /home/regalosj/src/RJCBundle/Controller/SubcategoriaController.php on line 78

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Error: Call to a member function getNombre() on null' in /home/regalosj/src/RJCBundle/Controller/SubcategoriaController.php:78 Stack trace: #0 {main} Next exception 'RuntimeException' with message 'Failed to start the session because headers have already been sent by "/home/regalosj/src/RJCBundle/Controller/SubcategoriaController.php" at line 78.' in /home/regalosj/var/cache/prod/classes.php:110 Stack trace: #0 /home/regalosj/var/cache/prod/classes.php(178): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /home/regalosj/var/cache/prod/classes.php(441): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes') #2 [internal function]: Symfony\Component\HttpFoundation\Session\Session->get('subTotal') #3 /home/regalosj/var/cache/prod/classes.php(5320): call_user_func_array(Array, Array) #4 /home/regalosj/var/cache/prod/twig/19/19d729f8aaa431b90cc70a1f530fb01 in /home/regalosj/var/cache/prod/classes.php on line 5196