1

我有3.1.0。uWAMP - PHP 版本 7.2.7

mysql 5.7.11

当我想用 PhpAdmin 导出我的数据 bsae 时,我有这个错误

.\libraries\plugin_interface.lib.php#532 中的警告

如何解决此错误。谢谢你的帮助。请原谅我的英语 Marlène

4

1 回答 1

1

编辑文件/usr/share/phpmyadmin/libraries/plugin_interface.lib.php

 sudo nano /usr/share/phpmyadmin/libraries/plugin_interface.lib.php

搜索 :

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

用。。。来代替 :

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

然后重启apache服务:

sudo service apache2 restart

那是因为您现在只能在数组 [php >= 7.2] 上使用 count(),并且 $options 不是明确的数组,因此您必须将其强制转换。

如果您遇到此问题,您可能也对这篇文章感兴趣: ./libraries/sql.lib.php#601 中的警告

于 2020-01-09T00:42:06.957 回答