我正在尝试在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请帮帮忙。
发布于 2018-03-24 14:11:41
将此代码添加到$this->http_header[$key] = $value;之前
$this->http_header = [];https://stackoverflow.com/questions/49314872
复制相似问题