Fatal error: Uncaught Error: Call to a member function getDate() on null in /var/www/vhosts/exams-catalunya.com/httpdocs/src/Esol/EsolBundle/Controller/DefaultController.php:262 Stack trace: #0 [internal function]: Esol\EsolBundle\Controller\DefaultController->pageAction('formulario-insc...', 'b2-first-for-sc...', '11680') #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/w in /var/www/vhosts/exams-catalunya.com/httpdocs/src/Esol/EsolBundle/Controller/DefaultController.php on line 262