Fatal error: Uncaught Error: Call to a member function getAttribute() on null in /srv/www/new-yp/src/YP/PublicBundle/Controller/DefaultController.php:1609
Stack trace:
#0 [internal function]: YP\PublicBundle\Controller\DefaultController->searchAction(Object(Symfony\Component\HttpFoundation\Request))
#1 /srv/www/new-yp/app/bootstrap.php.cache(2889): call_user_func_array(Array, Array)
#2 /srv/www/new-yp/app/bootstrap.php.cache(2863): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#3 /srv/www/new-yp/app/bootstrap.php.cache(2992): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#4 /srv/www/new-yp/app/bootstrap.php.cache(2272): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#5 /srv/www/new-yp/web/app.php(23): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#6 {main}
thrown in /srv/www/new-yp/src/YP/PublicBundle/Controller/DefaultController.php on line 1609