zendframework1-doctrine2 icon indicating copy to clipboard operation
zendframework1-doctrine2 copied to clipboard

MappingDriverChain Issue using doctrine 2.2

Open 0mars opened this issue 13 years ago • 3 comments

I'm trying bisna with doctrine 2.2 But I found this error Catchable fatal error: Argument 1 passed to Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain::addDriver() must implement interface Doctrine\Common\Persistence\Mapping\Driver\MappingDriver, instance of Doctrine\ORM\Mapping\Driver\AnnotationDriver

While AnnotationDriver implements MappingDriver I don't know why this producing that error?

Thank you

0mars avatar Sep 17 '12 10:09 0mars

Check out this discussion (pt_BR language) started about this issue here: https://groups.google.com/forum/?fromgroups=#!topic/doctrine-br/xw5Bduka3Co

Maybe can help...

brunoflmg avatar Sep 18 '12 01:09 brunoflmg

I've got the same issue, I'll appreciate it if you could fix it, I switched to doctrine 2.1 temporarily

0mars avatar Sep 18 '12 09:09 0mars

Hello... I update my doctrine version to new stable 2.3 and the problem is solved.

Test it.

brunoflmg avatar Sep 26 '12 12:09 brunoflmg