Fatal error: Uncaught Error: Call to a member function getTestAndTrain() on null in /var/www/vhosts/exams-catalunya.com/httpdocs/src/Esol/EsolBundle/Controller/PageController.php:47 Stack trace: #0 [internal function]: Esol\EsolBundle\Controller\PageController->pageAction('formulario-insc...', NULL, '10698') #1 /var/www/vhosts/exams-catalunya.com/httpdocs/app/bootstrap.php.cache(2978): call_user_func_array(Array, Array) #2 /var/www/vhosts/exams-catalunya.com/httpdocs/app/bootstrap.php.cache(2952): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #3 /var/www/vhosts/exams-catalunya.com/httpdocs/app/bootstrap.php.cache(3081): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #4 /var/www/vhosts/exams-catalunya.com/httpdocs/app/bootstrap.php.cache(2351): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #5 /var/www/vhosts/exams in /var/www/vhosts/exams-catalunya.com/httpdocs/src/Esol/EsolBundle/Controller/PageController.php on line 47