mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Attempted to call an undefined method named "storeEntityCache" of class "BasicEntityPersister" #6742
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @peter-gribanov on GitHub (Jun 3, 2021).
Very strange bug after recent update.
Error at this line in AbstractEntityPersister.
The method
UnitOfWork::getEntityPersister()returnDoctrine\ORM\Persisters\Entity\EntityPersister, which does not supportstoreEntityCache()method.Stack Trace
@peter-gribanov commented on GitHub (Jun 3, 2021):
The problem has been resolved. The reason turned out to be in the incorrectly configured second level cache.
@peter-gribanov commented on GitHub (Jun 4, 2021):
Another problem turned out to be that i specified the caching of a related entity for which the caching region was not configured.
But there is still a problem with the fact that a method is called which is not in the interface. This error is not informative at all. I spent 2 days trying to find the problem.