Problem with doctrine command using Symfony

Viewed 84

I've been trying to run the command php bin/console make:entity on my terminal on ubuntu but I have been getting this error message after trying to enter a property name and I have no idea what to do about it.

In Validator.php line 158: Argument 2 passed to Symfony\Bundle\MakerBundle\Validator::validateDoctrineFieldName() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Doctrin e\Bundle\DoctrineBundle\Registry given, called in /home/tautis/NQd/vendor/symfony/maker-bundle/src/Maker/MakeEntity.php on line 303

0 Answers
Related