FOSUserBundle: Error after upgrade to 03ce036

Having a working Symfony 2.8.5 setup since months.

Description of the problem including expected versus actual behavior:

Catchable Fatal Error: Argument 1 passed to FOS\UserBundle\Doctri          
  ne\UserManager::__construct() must implement interface FOS\UserBundle\Util\  
  PasswordUpdaterInterface, instance of Symfony\Component\Security\Core\Encod  
  er\EncoderFactory given, called in XXX/app/cache/dev/appDevDe  
  bugProjectContainer.php on line 732 and defined

Steps to reproduce:

  1. run composer update in my symfony project
  2. Version involved “Updating friendsofsymfony/user-bundle dev-master (def2746 => 03ce036)”

Doctrine was upgraded flawlessy

  - Removing doctrine/dbal (v2.5.4)
  - Installing doctrine/dbal (v2.5.5)
    Downloading: 100%         
  - Removing doctrine/doctrine-bundle (1.6.2)
  - Installing doctrine/doctrine-bundle (1.6.4)
    Downloading: 100% 

Basically upgrading to newer version of userbundle breaks something. Any ideas?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

Once again, there is a stable version! Please have a look at the 1.x branch. If you want symfony 3 support, feel free to contribute to the master, which will become the next stable release. Without any contribution, there is no symfony 3 support.

We indeed made a BC break (…)

Once again, I strongly advocate for having proper versioning in this )bundle, aswell as a “stable” and a “develop” branch. 😃