用vim编辑plugin_interface.lib.php文件:

vim /usr/share/phpmyadmin/libraries/plugin_interface.lib.php

if ($options != null && count($options) > 0) {

改为

if ($options != null && count((array)$options) > 0) {