Oui je suis dans le même cas
Bonjour,
Suite à l'acquisition d'un nouvel ordinateur je réinstalle tout !
Je recupère un projet sur gitlab avec un git clone qui est un projet symfony 4.
Quand j'éxécute composer install j'ai cette erreur qui apparait et pas moyen de trouver de solutions :(
Quelqu'un à déjà eu ce problème ?
3 réponses
Me too, quelqu'un a trouvé a solution ?
Merci à Laurent Rossillol sur stack pour sa solution :
This seems to be due to the upgrade of doctrine-bundle => v2.0.0.
You have to change :
Symfony\Bridge\Doctrine\RegistryInterface => Doctrine\Common\Persistence\ManagerRegistry
Doctrine\Common\Persistence\ObjectManager => Doctrine\ORM\EntityManagerInterface
In your "App\Repository\AbsenceRepository" please update your constructor:
public function construct(\Doctrine\Common\Persistence\ManagerRegistry $registry)
{
parent::construct($registry, Address::class);
}