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

count(): Parameter must be an array or an object that implements Countable #13

Open
batuoc263 opened this issue May 7, 2019 · 0 comments

Comments

@batuoc263
Copy link

Getting: "Main Query - vendor\reportico\yii2-reportico\components\reportico.php Line 1xxx - count(): Parameter must be an array or an object that implements Countable" when running on PHP version 7.3.
So, we can replace all
count($col->query_name) == 1
by
isset($_REQUEST[$col->query_name][0])
in

vendor\reportico\yii2-reportico\components\reportico.php

to fix.

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