繁体   English   中英

WordPress集成了社交登录功能,在PHP 7中不起作用

[英]WordPress integrating social login not working in PHP 7

我正在尝试将社交登录集成到WordPress中。 我已经安装了插件https://wordpress.org/plugins/wordpress-social-login/ 对于PHP 5.6.31版本,它可以正常工作。 当我将PHP版本更改为7.1.9时,单击Twitter身份验证按钮时会显示大量警告。

Warning: Illegal string offset 'cache_control' in E:\wamp64\www\iedecode\wp-content\plugins\wordpress-social-login\hybridauth\Hybrid\thirdparty\OAuth\OAuth1Client.php on line 263

请帮忙。

$this->http_header[$key] = $value;之前添加此代码$this->http_header[$key] = $value;

$this->http_header = [];

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM