title: Symfony 4 and Sonata News Bundle Error during Intallation
body: <p>I got the following error during installing SonataNewsBundle.</p>
  
  <pre><code>Unable to register extension "Sonata\FormatterBundle\Extension\ControlFlowExtension" as it is already registered in . (which is being imported from "/home/yoesoff/Documents/projects/oblog/config/routes/sonata_admin.yaml"). Make sure there is a loader supporting the "sonata_admin" type.
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/c5SXA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c5SXA.png" alt="Error"></a></p>
  
  <p>And following Error </p>
  
  <pre><code>The target-entity App\Entity\SonataMediaMedia cannot be found in 'App\Entity\SonataClassificationCollection#media'.
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/20CXL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/20CXL.png" alt="enter image description here"></a></p>
  
  <p>I just followed the official documentation from <a href="https://sonata-project.org/bundles/news/3-x/doc/reference/installation.html" rel="nofollow noreferrer">here</a>.</p>
  
  <p>Anybody can help regarding it?</p>