This error happended when I tried such operations as follows:
$user = Mongo_Document::factory('users');
$user->name="andy";
$user->save();
therefore, I found that
"safe"Deprecated. Please use the WriteConcern w option.
so, I changed the 'safe' to 'w' in the document.php save() function
ps: my mongodb version 2.2.4
This error happended when I tried such operations as follows:
$user = Mongo_Document::factory('users'); $user->name="andy"; $user->save();
therefore, I found that"safe"Deprecated. Please use the WriteConcern w option.
so, I changed the 'safe' to 'w' in thedocument.php
save() function ps: my mongodb version 2.2.4