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

Problem with onClear event #109

Closed
martinknor opened this issue Aug 7, 2017 · 5 comments
Closed

Problem with onClear event #109

martinknor opened this issue Aug 7, 2017 · 5 comments

Comments

@martinknor
Copy link

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

@michal-loksik
Copy link

i got same problem

@aleswita
Copy link

aleswita commented Aug 14, 2017

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: doctrine/orm#1515

@hubipe
Copy link

hubipe commented Aug 14, 2017

Same problem here, problem caused in doctrine/orm v2.5.7. Version 2.5.6 works fine.

@JanGalek
Copy link

#110 this will fix a problem

@petrparolek
Copy link

fixed by https://github.com/doctrine/doctrine2/releases/tag/v2.5.9

@enumag enumag closed this as completed Dec 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants