Symfony make:entity add property failed?

I have a problem when I want to create an entity under symfony 5.1.9 (I have the same problem under sf 4.4). I recently created a new SF project and still have the same concerns. The error message is as follows: 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 Doctrine Bundle DoctrineBundle Registry given, called in D: phpProject API-bills vendor sy
mfony maker-bundle src Maker MakeEntity.php on line 303.

Thanks for helpenter image description here

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *