Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to a deprecated function #14

Open
kamilw-ed opened this issue Oct 8, 2014 · 2 comments
Open

Call to a deprecated function #14

kamilw-ed opened this issue Oct 8, 2014 · 2 comments

Comments

@kamilw-ed
Copy link

Hi!

I am running Cm_Mongo on my local for tests. Your recent fixes made it possible for me to work with it and I really like the potential it is providing.

I have noticed that my system.log is full of this error:

2014-10-08T11:41:23+00:00 ERR (3): Deprecated functionality: MongoCollection::insert(): The 'safe' option is deprecated, please use 'w' instead  in /var/www/dev/magento-mongo/lib/mongodb-php-odm/classes/mongo/collection.php on line 192

I think that I am using the most recent Mongo driver. Could you fix it, please? We should not really use deprecated functionality.

Kind regards,
kamil

@colinmollenhour
Copy link
Owner

Rather than simply remove it, it should probably be replaced with some new config options.. Feel free to create a pull request. :)

@ksaltik
Copy link

ksaltik commented Dec 23, 2015

Hi,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants