I was trying to install MongoDB doctrine bundle as written in here But when I ran the command
$ php bin/vendors install
It throws up the following error:
Fatal error: Call to undefined method
Doctrine\ODM\MongoDB\Configuration::setLoggerCallable()
in
C:\wamp\www\Symfony\app\cache\dev\appDevDebugProjectContainer.php on line 245
I have followed the installation instructions to the word (which has not been much anyways...) and i have also double checked my installation... Is there something I am missing here?
Update : A similar problem is mentioned here, but even after following the answer there, i could not successfully configure DoctrineMongoDBBundle.
Well, finally I managed to solve it by adding this to the
deps
file:** note the
which is different from the previously suggested simple
I have a hunch that this problem occurs only on Windows, I hope someone could kindly confirm this.