I am wondering why I am getting the following php notice:
( ! ) Notice: Mongo::__construct(): parsing servers in C:\htdocs\multishop\library\Lupi\Resource\Odm.php on line 38
Call Stack
# Time Memory Function Location
1 0.0004 138504 {main}( ) ..\index.php:0
2 0.0130 667392 Zend_Application->bootstrap( ) ..\index.php:25
3 0.0130 667488 Zend_Application_Bootstrap_BootstrapAbstract->bootstrap( ) ..\Application.php:355
4 0.0130 667504 Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap( ) ..\BootstrapAbstract.php:586
5 0.0442 2068704 Zend_Application_Bootstrap_BootstrapAbstract->_executeResource( ) ..\BootstrapAbstract.php:626
6 0.0442 2068832 Lupi_Resource_Odm->init( ) ..\BootstrapAbstract.php:683
7 0.0596 2778880 Mongo->__construct( ) ..\Odm.php:38
Line 38:
$dm = DocumentManager::create(new \Doctrine\MongoDB\Connection(new \Mongo), $config);
The notice appears sometimes, not all the time. I am using doctrine mongo ODM.