New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Still an issue: Class Doctrine\Common\Proxy\AbstractProxyFactory does not exist #908
Comments
Thank you. Did you take a look if the mentioned fix hasn't covered this bug completely or if this has another cause? Can you please contribute a failing test that reproduces this error? |
Can you please post your configuration for Doctrine bundle (the The Symfony recipe for this bundle naively assumes you will also use ORM and adds default section: https://github.com/symfony/recipes/blob/481ce0a9f1619c0bea95d1b37c4477a9880f7039/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml#L19 |
I just had the same issue described here. This is my doctrine configuration generated by recipe: in config/packages/doctrine.yml
in config/packages/prod/doctrine.yml
To resolve, I had to manually run |
If you're not planning to use the ORM, remove the |
Closing here: this is an issue with the default configuration applied by the Symfony Flex recipe that doesn't take into account that ORM may not be installed. Nothing we can do here. |
Maybe it could thow more meaningful error than "ReflectionException: Class ... not found"? |
see #919 for an attempt to improve the reported error |
Running |
The issue mentioned here and to my understanding should have been fixed with version 1.10.1 with this merge still seems to exist for me.
After using composer
create-project symfony/skeleton myproject
andcomposer require doctrine/doctrine-bundle
it installs 1.10.1 of the Doctrine bundle but I still receive the following error message:The text was updated successfully, but these errors were encountered: