When I use: php bin/console make:entity, I get the following error:
"Doctrine\Persistence\Mapping\Driver\AnnotationDriver" does not exist.
When I use: php bin/console make:entity, I get the following error:
"Doctrine\Persistence\Mapping\Driver\AnnotationDriver" does not exist.
Symfony 4.4 support has been dropped for the maker bundle.
You need to upgrade your symfony version (it's not that hard from 4.4 to 5.4).
However, there is a temporary fix if you want by modifying your composer.json and downgrade your doctrine/orm to 2.11 until you migrate to symfony 5.4.
Change your composer.json with:
"doctrine/orm": "2.11.*",
And also:
"conflict": {
"symfony/symfony": "*",
"doctrine/orm": "2.12.0"
},
Don't forget to run composer update