Notice: 函数 WP_Scripts::localize 的调用方法不正确$l10n 参数必须是一个数组。若要将任意数据传递给脚本,请改用 wp_add_inline_script() 函数。 请查阅调试 WordPress来获取更多信息。 (这个消息是在 5.7.0 版本添加的。) in /data/www/appblog/wp-includes/functions.php on line 6131

git报错Peer reports incompatible or unsupported protocol version

git clone项目时出现类似如下错误:

# git clone https://github.com/iyezhou/Android-YzHttp.git
Cloning into '91porn'...
fatal: unable to access 'https://github.com/iyezhou/Android-YzHttp.git/': Peer reports incompatible or unsupported protocol version.
# git --version
git version 2.13.2

解决办法:

yum update nss curl libcurl  # nss为名称解析和认证服务 curl为网络请求库
上一篇 Linux 安装 MySQL 报 error while loading shared libraries: libtinfo.so.5 解决办法
下一篇 开源移动应用统计分析系统Cobub Razor安装踩坑记录