| Issue 65: | LightOpenId constructor fails when trusted root URL is less than 8 chars | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Line 85 throws an error like:
Warning: strpos() [function.strpos]: Offset not contained in string in /opt/wordpress/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/thirdparty/OpenID/LightOpenID.php on line 85
Changing it to the following fixes the issue:
if(strlen($this->trustRoot >= 8) && ($host_end = strpos($this->trustRoot, '/', 8)) !== false) {
|