WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddThis
[resolved] PHP Notices (5 posts)

  1. djeyewater
    Member
    Posted 1 year ago #

    I saw some PHP errors (notices) in my logs caused by this plugin. Notices and the corrections: http://pastebin.com/RaxuFRK2

    http://wordpress.org/extend/plugins/addthis/

  2. Srijith V
    AddThis Samurai
    Plugin Author

    Posted 1 year ago #

    @djeyewater: Can you let me know about the theme you are using. I am unable to reproduce it here. It shouldn't happen, and we want your support to fix this.

  3. djeyewater
    Member
    Posted 1 year ago #

    Hi srijith.v

    Since you are unable to reproduce it, I have looked into it a bit, to try and reproduce it myself. I have a wordpress multisite installation, so different sites are running different themes and are using different plugins.

    I could not reproduce it on one site, but am now trying another site (using the 2012 theme) and have got the error in my logs. I will try and narrow down the exact combination of theme & plugins, and post back when I have more info. (Might be tomorrow now).

  4. djeyewater
    Member
    Posted 1 year ago #

    Found the problem - when you network activate the plugin, each site will have the following for addthis_settings entry in the options table:
    a:2:{s:9:"atversion";s:3:"250";s:8:"wpfooter";b:1;}

    With the above, the 'errors' I had will show up.

    If you go into the plugin settings for each site and just click save, then the addthis_settings entry in the options table will be much larger, and you don't get the notices any more.

    So maybe something about Network activating could be fixed.

  5. Srijith V
    AddThis Samurai
    Plugin Author

    Posted 1 year ago #

    Thanks for the effort @djeyewater! I will now try to reproduce it here. I hope the issue is not in your production server as you are not supposed to turn on Notices there. I will try to provide you a quick fix today and that will be later integrated into the upcoming plugin update.

    Thanks again for finding this out!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.