title: FOSUserBundle error after installation - Symfony 3.2
body: <p>I recently created a new project in Symfony 3.2 and installed via composer following <a href="https://symfony.com/doc/master/bundles/FOSUserBundle/index.html" rel="nofollow noreferrer">https://symfony.com/doc/master/bundles/FOSUserBundle/index.html</a> the bundle FOSUserBundle.
  <em>(information : I used ORM)</em></p>
  <p>My problem is that after doing all those steps I have an issue on my /register/ route:</p>
  <blockquote>
  <p>Error: Call to a member function has() on null
  in vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Controller\Controller.php at line 234</p>
  </blockquote>
  <p>Other pieces of information : I did not touch composer.json and it was already with</p>
  <pre><code>&quot;friendsofsymfony/user-bundle&quot;: &quot;~2.0&quot;,
  </code></pre>
  <p>Any thoughts ?</p>
  <p>Regards,</p>