{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/1985","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/1985/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/1985/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/1985/events","html_url":"https://github.com/FriendsOfSymfony/FOSUserBundle/issues/1985","id":114299888,"number":1985,"title":"Could not load type \"Symfony\\Component\\Form\\Extension\\Core\\Type\\TextType\"","user":{"login":"greg-man","id":11294124,"avatar_url":"https://avatars.githubusercontent.com/u/11294124?v=3","gravatar_id":"","url":"https://api.github.com/users/greg-man","html_url":"https://github.com/greg-man","followers_url":"https://api.github.com/users/greg-man/followers","following_url":"https://api.github.com/users/greg-man/following{/other_user}","gists_url":"https://api.github.com/users/greg-man/gists{/gist_id}","starred_url":"https://api.github.com/users/greg-man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg-man/subscriptions","organizations_url":"https://api.github.com/users/greg-man/orgs","repos_url":"https://api.github.com/users/greg-man/repos","events_url":"https://api.github.com/users/greg-man/events{/privacy}","received_events_url":"https://api.github.com/users/greg-man/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-30T16:07:42Z","updated_at":"2015-10-31T09:18:42Z","closed_at":null,"body":"Hi,\r\n\r\nafter composer update my app throws the above named execption when loading register route of FOS UserBundle. Issue is caused by class FOS\\UserBundle\\Form\\Type\\RegistrationFormType. Second  parameter of $builder->add(username, ... is null. If I change it to 'text' everything seems to be fine.\r\n\r\nIs this a bug or a conflict in some of the packages? I'm using Symfony 2.6.11 and latest FOS UserBundle.\r\n\r\nKind regards\r\nGreg\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/comments/152717297","html_url":"https://github.com/FriendsOfSymfony/FOSUserBundle/issues/1985#issuecomment-152717297","issue_url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/1985","id":152717297,"user":{"login":"greg-man","id":11294124,"avatar_url":"https://avatars.githubusercontent.com/u/11294124?v=3","gravatar_id":"","url":"https://api.github.com/users/greg-man","html_url":"https://github.com/greg-man","followers_url":"https://api.github.com/users/greg-man/followers","following_url":"https://api.github.com/users/greg-man/following{/other_user}","gists_url":"https://api.github.com/users/greg-man/gists{/gist_id}","starred_url":"https://api.github.com/users/greg-man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg-man/subscriptions","organizations_url":"https://api.github.com/users/greg-man/orgs","repos_url":"https://api.github.com/users/greg-man/repos","events_url":"https://api.github.com/users/greg-man/events{/privacy}","received_events_url":"https://api.github.com/users/greg-man/received_events","type":"User","site_admin":false},"created_at":"2015-10-31T09:18:42Z","updated_at":"2015-10-31T09:18:42Z","body":"Sure here it is:\r\n\r\n\r\nStack Trace\r\n\r\n    in vendor/symfony/symfony/src/Symfony/Component/Form/FormRegistry.php at line 87  +\r\n    at FormRegistry ->getType ('Symfony\\Component\\Form\\Extension\\Core\\Type\\TextType')\r\n    in vendor/symfony/symfony/src/Symfony/Component/Form/FormFactory.php at line 82  +\r\n    at FormFactory ->createNamedBuilder ('username', 'Symfony\\Component\\Form\\Extension\\Core\\Type\\TextType', null, array('required' => true, 'attr' => array('maxlength' => '255', 'pattern' => '.{2,}'), 'label' => 'form.username', 'translation_domain' => 'FOSUserBundle'))\r\n    in vendor/symfony/symfony/src/Symfony/Component/Form/FormFactory.php at line 132  +\r\n    at FormFactory ->createBuilderForProperty ('AppBundle\\Entity\\User', 'username', null, array('label' => 'form.username', 'translation_domain' => 'FOSUserBundle'))\r\n    in vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php at line 109  +\r\n    at FormBuilder ->create ('username', null, array('label' => 'form.username', 'translation_domain' => 'FOSUserBundle'))\r\n    in vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php at line 267  +\r\n    at FormBuilder ->resolveChildren ()\r\n    in vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php at line 215  +\r\n    at FormBuilder ->getForm ()\r\n    in vendor/symfony/symfony/src/Symfony/Component/Form/FormFactory.php at line 47  +\r\n    at FormFactory ->createNamed ('customer_registration_form', object(RegistrationCustomerFormType), null, array('validation_groups' => array('strong_password_registration')))\r\n    in vendor/pugx/multi-user-bundle/PUGX/MultiUserBundle/Form/FormFactory.php at line 65  +\r\n    at FormFactory ->createForm ()\r\n    in vendor/friendsofsymfony/user-bundle/Controller/RegistrationController.php at line 52  +\r\n    at RegistrationController ->registerAction (object(Request))\r\n    at call_user_func_array (array(object(RegistrationController), 'registerAction'), array(object(Request)))\r\n    in app/bootstrap.php.cache at line 3088  +\r\n    at HttpKernel ->handleRaw (object(Request), '1')\r\n    in app/bootstrap.php.cache at line 3050  +\r\n    at HttpKernel ->handle (object(Request), '1', true)\r\n    in app/bootstrap.php.cache at line 3199  +\r\n    at ContainerAwareHttpKernel ->handle (object(Request), '1', true)\r\n    in app/bootstrap.php.cache at line 2440  +\r\n    at Kernel ->handle (object(Request))\r\n    in web/app_dev.php at line 28  +\r\n\r\n"}}