-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
When I call
Model::model()->getCollection()->findAndModify(...)I got a error:
Error: Call to undefined method MongoDB\Collection::findAndModify() in C:\xampp\htdocs\project\protected\commands\CronCommand.php:27
Stack trace:
#0 [internal function]: CronCommand->actionRunReceive()
#1 C:\xampp\htdocs\project\framework\console\CConsoleCommand.php(172): ReflectionMethod->invokeArgs(Object(CronCommand), Array)
#2 C:\xampp\htdocs\project\framework\console\CConsoleCommandRunner.php(71): CConsoleCommand->run(Array)
#3 C:\xampp\htdocs\project\framework\console\CConsoleApplication.php(92): CConsoleCommandRunner->run(Array)
#4 C:\xampp\htdocs\project\framework\base\CApplication.php(185): CConsoleApplication->processRequest()
#5 C:\xampp\htdocs\project\framework\yiic.php(33): CApplication->run()
#6 C:\xampp\htdocs\project\protected\yiic.php(7): require_once('C:\\xampp\\htdocs...')
#7 {main}
I don't know why here is not used Collection from this extension... Can you check this?
Metadata
Metadata
Assignees
Labels
No labels