Closed martinknor closed 6 years ago
i got same problem
I have same issue after update some doctrine libraries..
My proactional solution:
$ composer require doctrine/common:~2.7.0
$ composer require doctrine/dbal:~2.5.0
$ composer require doctrine/orm:2.5.6
Look at this PR: https://github.com/doctrine/doctrine2/pull/1515
Same problem here, problem caused in doctrine/orm v2.5.7. Version 2.5.6 works fine.
https://github.com/Kdyby/Events/pull/110 this will fix a problem
A function
\Doctrine\ORM\Internal\Hydration\AbstractHydrator::cleanup
call->removeEventListener([Events::onClear], $this);
, but this failed at\Kdyby\Events\EventManager:218
PHP Notice: Undefined index: Doctrine\ORM\Event::onClear in ...\vendor\kdyby\events\src\Events\EventManager.php:218