• Plugin is configured correctly for LinkedIn yet returns an Error 500 when user clicks “Sign In with LinkedIn.”

    Log details:
    Fatal error: Cannot unset $this in /www/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/thirdparty/LinkedIn/LinkedIn.php on line 178

    We tried uncommenting that line and it resolved the error 500 on PHP 7.1… but as I think $this is an OOP concept and cannot be unset, this isn’t a viable permanent fix.

    Also, we tested the plugin on a replicated WP with PHP 5.6 and didn’t get any error… so I’m guessing that this plugin is incompatible with PHP 7.1 until the dev updates the code with a fix.

    Here’s a screenshot with the change we made to test this error (“unset” commented out):
    http://flywheel.link/1S2V0G3s0O0i

    Any other ideas to get this working?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mtsdawson

    (@mtsdawson)

    Forgot to include… we are on a WP multisite. Note sure if that could also be the source of the error?

    Thanks for a terrific plugin btw. This is the most lightweight and tightly coded option available… great job!

    This happens on a non-multisite too.

    Got this error too;

    Fatal error: Cannot unset $this in ../public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/thirdparty/LinkedIn/LinkedIn.php on line 178

    is there a fix yet please?

    Thanks
    Pieter

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘not compatible with PHP 7.1?’ is closed to new replies.