Fix Bug Phpmyadmin [plugin_interface.lib.php] + Php7.2 + Ubuntu 16.04

Fix Bug Phpmyadmin [plugin_interface.

lib.

php] + Php7.

2 + Ubuntu 16.

04Chaloemphon ThipkasornBlockedUnblockFollowFollowingApr 26, 2018Warning in .

/libraries/plugin_interface.

lib.

php#532count(): Parameter must be an array or an object that implements Countablecouse of phpmyadmin’s library try to count some parameter.

At this line 532, I found this code in this path$ /usr/share/phpmyadmin/libraries/plugin_interface.

lib.

phpif ($options != null && count($options) > 0) {i think in new php version.

It can’t use count() or sizeof() with un array type.

Force parameter to array is easy way to solve this bug, Like Thisif ($options != null && count((array)$options) > 0) {May this trick help your code.

.

. More details

Leave a Reply