You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's an issue with the createIndex method inside `lib/mongo/MongoCollection.php', where in the event that the '$options' array has no property called 'name' it'll call an undefined method 'generate_index_name' from the 'MongoDB' package.
Additionally there's a similar error where the 'deleteIndex' method calls the same 'generate_index_name' if the '$keys' argument is an array.
There's an issue with the createIndex method inside `lib/mongo/MongoCollection.php', where in the event that the '$options' array has no property called 'name' it'll call an undefined method 'generate_index_name' from the 'MongoDB' package.
Additionally there's a similar error where the 'deleteIndex' method calls the same 'generate_index_name' if the '$keys' argument is an array.
The error I am facing:
You can refer this PR mongodb/mongo-php-library@c4569a1 for further details.
The text was updated successfully, but these errors were encountered: