• Resolved mamood

    (@mamood)


    Hello!

    I have used the plugin and it works brilliantly with Google, however, the FB integration works on the login but doesn’t seem to complete the callback properly. On the callback it calls index.php?social-connect=facebook-callback…etc but returns with the following error:

    Fatal error: Cannot use object of type WP_Error as array in D:\Inetpub\myapp\wp-content\plugins\social-connect\utils.php on line 27.

    Not sure what this is?

    Any help would be appreciated…

    Cheers,
    Mamood.

    https://wordpress.org/plugins/social-connect/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rodrigo Primo

    (@rodrigosprimo)

    Please check version 1.0.4. There was a problem in line 27 of utils.php.

    At least now a fatal error won’t be generated. But it seems that in your case wp_remote_get() is returning a error. We might need to improve the code to at least display this error.

    Thread Starter mamood

    (@mamood)

    Thanks for getting back Rodrigo!

    Yes, now it doesn’t display an error but does not seem to do much of anything – just popping up a window briefly then returning to the WP login page. I think it is authorising OK but it must be experiencing a problem with the callback. Not sure if there is something missing on the Facebook app side. I have completed the following in Facebook:

    App Domains<website_root_url_without_http://www>
    Mobile Site URL=<website_root_url>
    Site URL=<website_root_url>
    Client OAuth Login=<website_root_url>

    and taken defaults for mostly everything else.

    Any thoughts?

    Cheers,
    Mamood.

    Plugin Author Rodrigo Primo

    (@rodrigosprimo)

    Please test the new version of Social Connect I just released.

    Now the error should be visible to you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Facebook – Cannot use object of type WP_Error as array in utils.php on line 27’ is closed to new replies.