Open shammas123 opened 6 years ago
@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
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);
}
count(): Parameter must be an array or an object that implements Countable