phpMyAdmin mcrypt error on PHP7.1

后端 未结 3 448
遇见更好的自我
遇见更好的自我 2020-12-22 00:04

Apache/2.4.23 (Win64) PHP/7.1.0

PhpMyAdmin: 4.6.5.2

Error Image:

\"\"

Any idea?

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-22 00:19

    Just to add to Alex's answer, the code has a typo which makes it invalid, it should look like this:

    public function handleError($errno, $errstr, $errfile, $errline)
    {
        if (error_reporting() == 0 || $errno == E_DEPRECATED) { // added – $errno == E_DEPRECATED
            return;
        }
        $this->addError($errstr, $errno, $errfile, $errline, true);
    }
    

提交回复
热议问题