Fix Bug Phpmyadmin [plugin_interface.lib.php] PHP version: 7.2.7-1+ubuntu17.10

Warning appears during database export using phpmyadmin.

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

plugin_interface_error
plugin_interface_error

Cause

I think in new php version, it can’t use count() or sizeof() with an array type. 

Solution

Force parameter to an array. This can be done by changing /usr/share/phpmyadmin/libraries/plugin_interface.lib.php

plugin interface count array
plugin interface count array

Save this file and try to export database. This time no error.

Let's see another common problem like this :

sql_lib_coun_description
sql_lib_coun_description
sql_lib_count
sql_lib_count
mm

Anup Chhetri

IT system administrator

You may also like...

error: Content is protected !!