登录 phpmyadmin提示:Notice: Array to string conversion in phpmyadmin/libraries/Error.class.php on line 179

PHP版本升级到5.4后,用phpmyadmin登录时提示:Notice: Array to string conversion in phpmyadmin/libraries/Error.class.php on line 179 。

解决方法:打开libraries/Error.class.php的179行:

$this->getBacktrace()

替换成:

serialize($this->getBacktrace())

 

再登录,正常了。

THE END