Skip to content
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

Second level cache, undefined method getCacheRegion #6280

Closed
kubawerlos opened this issue Feb 7, 2017 · 3 comments
Closed

Second level cache, undefined method getCacheRegion #6280

kubawerlos opened this issue Feb 7, 2017 · 3 comments
Assignees

Comments

@kubawerlos
Copy link

With Symfony 3.2.3 and ORM 2.5.6 (or master), when I remove cache configuration from entity I am getting:

Attempted to call an undefined method named "getCacheRegion" of class
"Doctrine\ORM\Persisters\Entity\BasicEntityPersister".

because method getEntityPersister is returning Doctrine\ORM\Persisters\Entity\BasicEntityPersister istead of AbstractEntityPersister.

@Ocramius
Copy link
Member

Ocramius commented Feb 7, 2017

@kubawerlos can you try current master? I think it was fixed there, but not backported due to complexity

@lcobucci
Copy link
Member

lcobucci commented Feb 7, 2017

I believe is a duplicate of #6124 and #5808

@Ocramius
Copy link
Member

Ocramius commented Feb 7, 2017

Closing as duplicate of #6124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants