Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to AppBundle\Entity\PluginUapEnrollment::__construct() must be an instance of AppBundle\Entity\PluginUap, null given, called in /home/uapgiron/src/AppBundle/Controller/PublicController.php on line 136 in /home/uapgiron/src/AppBundle/Entity/PluginUapEnrollment.php:129 Stack trace: #0 /home/uapgiron/src/AppBundle/Controller/PublicController.php(136): AppBundle\Entity\PluginUapEnrollment->__construct(NULL) #1 [internal function]: AppBundle\Controller\PublicController->inscriptionAction(Object(Symfony\Component\HttpFoundation\Request)) #2 /home/uapgiron/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(144): call_user_func_array(Array, Array) #3 /home/uapgiron/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(64): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #4 /home/uapgiron/vendor/symfony/symfony/src/Symfony/Component/H in /home/uapgiron/app/Resources/views/base.html.twig on line 150