WordPress.org

Ready to get started?Download WordPress

Forums

AddThis Social Sign In
Errors on wp-login page, cannot create user / login (5 posts)

  1. Denis Ciumbargi
    Member
    Posted 1 year ago #

    Hi, i have been using addthis services for 2 years now, he social sharing one and wanted to give the company extra credits and start using this new plugin.

    Installed, all setup, created applications, used Janrain so knew things around with api oath etc.

    When i am on my wp-login page and using twitter button for example this happens:

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/35/8355835/html/wp-content/plugins/addthis-social-sign-in/includes/OAuth.php:897) in /home/content/35/8355835/html/wp-content/plugins/addthis-social-sign-in/addthis_social_sign_in.php on line 299
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/35/8355835/html/wp-content/plugins/addthis-social-sign-in/includes/OAuth.php:897) in /home/content/35/8355835/html/wp-content/plugins/addthis-social-sign-in/addthis_social_sign_in.php on line 302
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/35/8355835/html/wp-content/plugins/addthis-social-sign-in/includes/OAuth.php:897) in /home/content/35/8355835/html/wp-content/plugins/addthis-social-sign-in/addthis_social_sign_in.php on line 308

    When using linkedin

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/35/8355835/html/wp-content/plugins/addthis-social-sign-in/includes/OAuth.php:897) in /home/content/35/8355835/html/wp-content/plugins/addthis-social-sign-in/addthis_social_sign_in.php on line 340

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/35/8355835/html/wp-content/plugins/addthis-social-sign-in/includes/OAuth.php:897) in /home/content/35/8355835/html/wp-content/plugins/addthis-social-sign-in/addthis_social_sign_in.php on line 343
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/35/8355835/html/wp-content/plugins/addthis-social-sign-in/includes/OAuth.php:897) in /home/content/35/8355835/html/wp-content/plugins/addthis-social-sign-in/addthis_social_sign_in.php on line 346

    Google, yahoo and facebook seemed to worked at the moment of testing.

    The website is sansapentrusansa.org and i also use buddypress so any support of the Adthis SSI for that will be awesome.

    Also, a widget / shortcode not the php template thing would be great!

    http://wordpress.org/extend/plugins/addthis-social-sign-in/

  2. vipinss
    AddThis Samurai
    Plugin Author

    Posted 1 year ago #

    Sorry for the inconvenience. We are not able to reproduce the issue here but we have tracked this and will fix if there any issues regarding this.
    To suppress this warning you can use ob_start() at the beginning and ob_flush() at the end of the file addthis_social_sign_in.php (/wp-content/plugins/addthis-social-sign-in/addthis_social_sign_in.php)
    So your code will look like below

    <?php
    ob_start();
    ...........
    ....
    ...
    ob_flush();
    ?>
  3. Denis Ciumbargi
    Member
    Posted 1 year ago #

    Would you like me to offer you an temporary admin account as developer to test it on my website?

  4. joivmaco
    Member
    Posted 1 year ago #

    I found the error in a plugin file: /wp-content/plugins/addthis-social-sign-in/includes/OAuth.php

    If you edit the code there is white space after the ?> closing tag at the end of the code. This fixed it for me and I was getting several errors.

  5. joivmaco
    Member
    Posted 1 year ago #

    I forgot to mention that there should not be any white space or anything after the ?> closing tags. Remove it, save it and now it should work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic