再PHP7.2环境下安装了老版的wp,登录后台再安装插件界面显示了错误保障: Warning: count(): Parameter must be an array or an object that implements Co... 查看报故障的程序段,如下: // Check global in case errors have been added on this pageload. if ( ! count( $wp_settings_errors ) ) return array(); 搜索网上得到的解…