WordPress.org

Forums

Social Login
[resolved] PHP warning in communication.php (2 posts)

  1. stelam
    Member
    Posted 2 years ago #

    Hello, thanks for this plugin, it saved me a lot of time :)

    Although, right after the "Please wait, you are being redirected ..." screen, I sporadically get this error (I mainly tried with Facebook):

    Warning: First parameter must either be an object or the name of an existing class in /mysite/wp-content/plugins/oa-social-login/includes/communication.php on line 81

    and then the redirect doesn't occur because that warning output triggers this:

    Warning: Cannot modify header information - headers already sent by (output started at /mysite/wp-content/plugins/oa-social-login/includes/communication.php:81) in /mysite/wp-includes/pluggable.php on line 697

    Somestimes it happens, sometimes it doesn't. I'm using 3.4.1 and latest version of OA Social Login (3.2).

    Any help?
    For now, I have put a @ in front the of the function names on line 81 of communication.php and it hasn't happened since. But it can only be a temporary fix

    http://wordpress.org/extend/plugins/oa-social-login/

  2. Claude
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Stelam,

    I'm glad to hear that the plugin suits your needs!
    Thank you for the bug report, this error should be fixed in the latest version.

    Regards,

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Social Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic