Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to ManagerBundle\Factory\AccessActionFactory::__construct() must be an instance of ManagerBundle\Entity\SUser, null given, called in /home/wluczka/domains/szkolkaluczka.pl/public_html/var/cache/prod/ContainerDlsksxa/getSzkolka_AccesActionFactoryService.php on line 8 in /home/wluczka/domains/szkolkaluczka.pl/public_html/src/ManagerBundle/Factory/AccessActionFactory.php:17 Stack trace: #0 /home/wluczka/domains/szkolkaluczka.pl/public_html/var/cache/prod/ContainerDlsksxa/getSzkolka_AccesActionFactoryService.php(8): ManagerBundle\Factory\AccessActionFactory->__construct(NULL) #1 /home/wluczka/domains/szkolkaluczka.pl/public_html/var/cache/prod/ContainerDlsksxa/appProdProjectContainer.php(1330): require('/home/wluczka/d...') #2 /home/wluczka/domains/szkolkaluczka.pl/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(304): ContainerDlsksxa\appProdProjectContainer->load('getSzkolka_Ac in /home/wluczka/domains/szkolkaluczka.pl/public_html/src/ManagerBundle/Factory/AccessActionFactory.php on line 17