Support » Plugin: Share Buttons by AddThis » [Plugin: AddThis] PHP Warnings about array arguments in foreach() and array_shift()

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hm, what version of PHP are you running?


    I’d rather not share the version number here, do you have any particular php bugs in mind?

    You can also contact me directly at msenate at plos {dot} org

    Plugin Author addthis_paul


    AddThis Samurai

    Are you using this as an admin user or some other permission level? We know of a bug that causes an error when you’re using the AddThis plugin and aren’t an admin user.

    Hmm, I believe only admins and super admins are configuring the plugin. Might there be a configuration issue with super admins?

    Plugin Author addthis_paul


    AddThis Samurai

    No, it was only with users without admin rights having the problem.

    Have you tried disabling other plugins to see if there’s a conflict?

    I will test this, but it’s a rather odd error response for a plugin conflict. Thanks for your help thus far.

    okay, I’ve debugged this further to the admin dashboard.

    I believe it’s an issue with displaying the AddThis dashboard widget. I’ve disabled dashboard display in the advanced settings of AddThis and have not received any error messages.

    It seems that the problem arises when a date range is selected (or defaulted) missing either share or clickback data. I’ve checked in a possible fix to the development version ( Could you try that out and re-enable the dashboard widget to see if it works it works for you?


    thanks for the patch, it did not fix my problem, I continue to receive the same warning messages…

    Man. There’s definitely something deeper going on that to fix properly will require adding some more powerful remote diagnostic capability to the tool.

    However, I’ve updated the dev version with even more failsafes around missing data. Let me know if it resolves the problem at your leisure.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: AddThis] PHP Warnings about array arguments in foreach() and array_shift()’ is closed to new replies.