ZF1 + Doctrine 2 ODM: Call to undefined method AnnotationReader::setDefaultAnnotationNamespace
Posted
by
Rafael
on Stack Overflow
See other posts from Stack Overflow
or by Rafael
Published on 2012-06-22T21:14:05Z
Indexed on
2012/06/22
21:16 UTC
Read the original article
Hit count: 414
I am trying to setup a zf1 + doctrine mongo odm 1.0.0BETA4-DEV project. I am using https://github.com/Bittarman/zf-d2-odm branch but when I update doctrine version from 1.0.0BETA3 to 1.0.0BETA4-DEV, I get the following error:
SCREAM: Error suppression ignored for
( ! ) Fatal error: Call to undefined method Doctrine\Common\Annotations\AnnotationReader::setDefaultAnnotationNamespace() in C:\htdocs\zf-d2-odm\library\Lupi\Resource\Odm.php on line 34
Call Stack
# Time Memory Function Location
1 0.0007 139368 {main}( ) ..\index.php:0
2 0.0217 659008 Zend_Application->bootstrap( ) ..\index.php:25
3 0.0217 659104 Zend_Application_Bootstrap_BootstrapAbstract->bootstrap( ) ..\Application.php:355
4 0.0217 659120 Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap( ) ..\BootstrapAbstract.php:586
5 0.0314 1127240 Zend_Application_Bootstrap_BootstrapAbstract->_executeResource( ) ..\BootstrapAbstract.php:626
6 0.0314 1127368 Lupi_Resource_Odm->init( ) ..\BootstrapAbstract.php:683
© Stack Overflow or respective owner