Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to Symfony\Component\Form\Form::__construct() must be an instance of Symfony\Component\Form\FormConfigInterface, string given, called in /var/www/so-l.ru/app/cache/prod/appProdProjectContainer.php on line 11189 in /var/www/so-l.ru/vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:169 Stack trace: #0 /var/www/so-l.ru/app/cache/prod/appProdProjectContainer.php(11189): Symfony\Component\Form\Form->__construct('sonata_user_reg...', 'sonata_user_reg...', NULL, Array) #1 /var/www/so-l.ru/app/bootstrap.php.cache(2248): appProdProjectContainer->getSonata_User_Registration_FormService() #2 /var/www/so-l.ru/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php(391): Symfony\Component\DependencyInjection\Container->get('sonata.user.reg...') #3 /var/www/so-l.ru/vendor/sonata-project/user-bundle/Controller/RegistrationFOSUser1Controller.php(42): Symfony\Bundle\FrameworkBundle\Controller\Cont in /var/www/so-l.ru/vendor/symfony/symfony/src/Symfony/Component/Form/Form.php on line 169