Symfony 2.7 / 3 - Doctrine: You have requested a non-existent service "fos_user.doctrine_registry"
<p>Doing a composer update today suddenly getting the following error:</p>

<blockquote>
  <p>[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
  You have requested a non-existent service
  "fos_user.doctrine_registry". </p>
</blockquote>

<p>when composer is executing the <code>cache:clear --no-warmup</code> command.</p>

<p>Search found an answer related to converting from doctrine to MongoDB but the solutions are not working for me. I am using Doctrine. I've tried Fosuserbundle dev-master, dev-master@dev, 2.0.0-alpha1 and 2.0.0-alpha3.</p>

<p>Any other suggestions? Composer update was working fine a couple of days ago.</p>