gpt4 book ai didi

Mysql 转储 : count() Parameter must be an array of an object that implements countable

转载 作者:行者123 更新时间:2023-11-29 16:51:31 24 4
gpt4 key购买 nike

Mysql 错误: 回溯 ./libraries/display_export.lib.php#380: PMA_pluginGetOptions( string 'Export', array, ) ./libraries/display_export.lib.php#883: PMA_getHtmlForExportOptionsFormat(数组) ./libraries/display_export.inc.php#74: PMA_getHtmlForExportOptions( string 'server',

string '', string '', string '全选/取消全选
my_database my_database phpmyadmin ', string '', array, string '', ) ./server_export.php#30: require_once(./库/display_export.inc.php)enter image description here

最佳答案

phpmyadmin’s library try to count some parameter. At this line 532, I found this code in this path

文件名:$/usr/share/phpmyadmin/libraries/plugin_interface.lib.php

找到这一行:

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

替换为:

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

It can’t use count() or sizeof() with un array type. Force parameter to array is easy way to solve this bug

关于Mysql 转储 : count() Parameter must be an array of an object that implements countable,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52793413/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com