mardi 5 juin 2018

Call to undefined method MongoDB\Driver\ReadConcern::isDefault() after composer update

After the composer update (composer update --no-scripts) i am getting below error :

FatalThrowableError Call to undefined method MongoDB\Driver\ReadConcern::isDefault()

I found the similar issue but i am not getting a proper solution. I checked ReadConcern::isDefault and Called to Undefined Method ReadConcern::isDefault

When I execute sudo apt install php-mongodb, i got the following result:

php-mongodb is already the newest version (1.4.2-1+ubuntu16.04.1+deb.sury.org+1).

On composer.json file, i have this :

"mongodb/mongodb": "^1.1.0",

On composer Update, on terminal i can see this:

Updating mongodb/mongodb (1.1.2 => 1.3.2): Loading from cache

Is there something with the versions of these.

What should i do now to resolve the issue, please suggest.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire