专注于高品质PHP技术等信息服务于一体 [STIEMAP] [RSS]

百度提供的广告:
PHP
当前位置:首页 > 技术文档 > PHP >  > 
phpmyadmin 3.44 升级到 php 5.5 后 出错 Notice: Array to
phpmyadmin 3.44 升级到 php 5.5 后 出错 Notice: Array to string conversion in Error.class.php on line 179

太新的 phpmyadmin 列选择不好用,所以还是用老版本

把数据当成字符串进行处理出错

libraries/Error.class.php

    public function getHash()
    {
        if (null === $this->_hash) {
            $this->_hash = md5(
                $this->getNumber() .
                $this->getMessage() .
                $this->getFile() .
                $this->getLine() .
                $this->getBacktrace()
            );
        }

        return $this->_hash;
    }

把最后一个 删除就行了
$this->getBacktrace()