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

MongoDM not fully support PHP 7.1/PHP 7.2/PHP7.0 for find() function #99

Open
bc96123 opened this issue Mar 22, 2018 · 0 comments
Open

Comments

@bc96123
Copy link

bc96123 commented Mar 22, 2018

While I install the php from https://webtatic.com/packages/php71/#sapis for PHP7.2 ,PHP7.1 and PHP7.0, I have try to use find() function but the system throw me the error below. I install PHP7.2 in windows by XAMPP is working fine with mongodm.

Argument 3 passed to MongoDB\Driver\Server::executeQuery() must be an instance of MongoDB\Driver\ReadPreference or null, array given

Kindly provide new fix for this issues.

@bc96123 bc96123 changed the title MongoDM not fully support PHP 7.1/PHP 7.2 for find() function MongoDM not fully support PHP 7.1/PHP 7.2/PHP7.0 for find() function Mar 22, 2018
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

1 participant