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

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

Save this file and try to export database. This time no error.
Let's see another common problem like this :

