markoheijnen / wp-db-driver

45 stars 12 forks source link

hi i got this error... #112

Open mxmkmarquette opened 6 years ago

mxmkmarquette commented 6 years ago

first of all wonderfull plugin you made.

second, i just install your plugin on a website with php7.2 and it throw me an error...

Warning: count(): Parameter must be an array or an object that implements Countable in /srv/users/serverpilot/apps/madmax/public/wp-content/plugins/wp-db-driver/inc/db-driver.php on line 1692

witch is this line.

        } else {
            $return_val = $this->num_rows = count( $this->result );
        }

i know that there some problem with php7.2 but php7.2 give a lot's of gain in term of speed etc.

i hope you can help.

is it possible to fix it or give me a way to fix it witch will make the plugin work and be fantastic as it is on my other website.

markoheijnen commented 6 years ago

I haven't had much time the last year to work on my open source projects. I will do my best to update this plugin in the next days.

mxmkmarquette commented 6 years ago

sincerly thank you very much and have a good one my friend.

markoheijnen commented 6 years ago

Little bit of a delay but this week I will be picking it up