We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
@shammas123 Hi there. Check your PHP version, this error usually happens in PHP 7.2, that's why it isn't supported (yet). Try using PHP 7.1
Sorry, something went wrong.
This error is caused by the PHP version.
Modify line 1185 of the Builder.php file
$originalWhereCount = count ($ query-> wheres);
to
$originalWhereCount = 0; if (is_array ($ query-> wheres) || is_object ($ query-> wheres)) { $originalWhereCount = count ($ query-> wheres); }
No branches or pull requests
count(): Parameter must be an array or an object that implements Countable
The text was updated successfully, but these errors were encountered: