Support » Plugin: Share Buttons by AddThis » PHP Error: Undefined variable: button … on line 448

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    I just updated the plugin to 3.5.4 and can confirm that the following error from the plugin is still appearing:

    Notice: Undefined variable: button in …/plugins/addthis/addthis_social_widget.php on line 448

    Courtney Fantinato

    (@ridingforlife)

    So I am having to revert back to 3.5.1, as that version seems to work.

    I believe this issue is the same thing: http://wordpress.org/support/topic/build-your-own-social-media-buttons-not-appearing-at-the-bottom-of-posts?replies=3

    Srijith V

    (@srijithv)

    @courtney: Yes, it’s the same issue and we are working out a fix for it. Keep checking that thread, and we will share a beta version of the plugin with the fix there.

    Hi srijith.v,

    I have just updated to 3.5.6 and this issue, reported over a month ago, is still a problem.

    When will a fix be released? I am stuck at 3.5.1 and to be at 3.5.6 without a resolution is very very disappointing.

    Thanks

    Two months now, is there any resolution to this?

    Considering looking at other options at this point…

    @srijith.v

    I am still getting this same PHP error after upgrading from 3.5.1 to the latest, 3.5.9:

    Notice: Undefined variable: button in …/plugins/addthis/addthis_social_widget.php on line 447

    It shows up on the front-end in place of the social icons.

    Any help here?

    Comparing to version 3.5.1, the variable $button is inside of an IF statement that doesn’t exist in 3.5.1:

    if (isset($options[‘type’]) && $options[‘type’] != ‘custom_string’) { … }

    Is there a NEW option for the array in do_action( ‘addthis_widget’, get_permalink(), get_the_title(), array(…)); ???

    ETA: Simply adding type => ‘custom’ to the array stops the error. It also works empty. Looks like the article I linked to above was also updated for this.

    I’m going to mark this as resolved…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘PHP Error: Undefined variable: button … on line 448’ is closed to new replies.