Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Return value of AppBundle\Entity\Seminaris::getCurs() must be an instance of AppBundle\Entity\Cursos, null returned in /homepages/41/d495663545/htdocs/src/AppBundle/Entity/Seminaris.php:733 Stack trace: #0 /homepages/41/d495663545/htdocs/vendor/twig/twig/lib/Twig/Extension/Core.php(1619): AppBundle\Entity\Seminaris->getCurs() #1 /homepages/41/d495663545/htdocs/var/cache/prod/twig/a9/a920c3ccd1737ef486d224276e9e1f0bd46fcb5b24da025b659f907ac1749cd4.php(195): twig_get_attribute(Object(Twig_Environment), Object(Twig_Source), Object(AppBundle\Entity\Seminaris), 'curs', Array) #2 /homepages/41/d495663545/htdocs/vendor/twig/twig/lib/Twig/Template.php(189): __TwigTemplate_11faeadbd80562f3c35a8376f0c22d41522cff7f5e403f0bd66acf8827b2140e->block_body(Array, Array) #3 /homepages/41/d495663545/htdocs/var/cache/prod/twig/ae/ae02b9a58848c2968cc1065c95317dbcc96c17bae2fb08864ae1d6602bc8deb7.php(308): Twig_Template->displayBlock('body', Array, Array) # in /homepages/41/d495663545/htdocs/src/AppBundle/Entity/Seminaris.php on line 733