-
Notifications
You must be signed in to change notification settings - Fork 731
Bug with PHP 7.2 #1377
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
Comments
can you show us the code that generate this error ? |
The bug is here: https://github.com/ruflin/Elastica/blob/master/lib/Elastica/Query.php#L425
|
I confirm that @kukulich is right.
I think could it be useful having a PR ready to be merged when PHP 7.2 will be released, at the moment PHP 7.2 is a Release Candidate 2, so not ready for production use. |
hi all! I think we can close this one as this PR #1378 solves the problem :) |
Warning: count(): Parameter must be an array or an object that implements Countable
in https://github.com/ruflin/Elastica/blob/master/lib/Elastica/Query.php#L333The text was updated successfully, but these errors were encountered: