• Resolved Jenny Beaumont

    (@jennybeaumont)


    HI there,

    Don’t know if these were there before the latest updated, but after updating to v3.5 and working in debug mode, I get the following notices – I’m using Twitter, Facebook, Pinterest and Google+ so I imagine that this is 2 notices per link :

    Notice: Undefined variable: booShowShareCount in ../wp-content/plugins/simple-share-buttons-adder/simple-share-buttons-adder.php on line 827

    Notice: Undefined variable: htmlShareButtons in ../wp-content/plugins/simple-share-buttons-adder/simple-share-buttons-adder.php on line 839

    Notice: Undefined variable: booShowShareCount in ../wp-content/plugins/simple-share-buttons-adder/simple-share-buttons-adder.php on line 827

    Notice: Undefined variable: htmlShareButtons in ../wp-content/plugins/simple-share-buttons-adder/simple-share-buttons-adder.php on line 885

    Notice: Undefined variable: booShowShareCount in ../wp-content/plugins/simple-share-buttons-adder/simple-share-buttons-adder.php on line 827

    Notice: Undefined variable: htmlShareButtons in ../wp-content/plugins/simple-share-buttons-adder/simple-share-buttons-adder.php on line 1120

    Notice: Undefined variable: booShowShareCount in ../wp-content/plugins/simple-share-buttons-adder/simple-share-buttons-adder.php on line 827

    Notice: Undefined variable: htmlShareButtons in ../wp-content/plugins/simple-share-buttons-adder/simple-share-buttons-adder.php on line 928

    My config uses custom images with no share count. Also getting various Notice: Undefined index whenever I make a change to the plugin setting in admin.

    thnx,
    -jennyb

    https://wordpress.org/plugins/simple-share-buttons-adder/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Simple Share

    (@davidoffneal)

    Hi Jenny,

    Please see an excerpt of the changelog below:

    Error reporting switched back on for developers trying to debug their code. If you have any errors displayed, please report them. Then temporarily hide by removing the two forward slashes on line 24 of simple-share-buttons-adder.php – //error_reporting(0);

    Thank you for reporting this, I shall now be able to fix the notices for the next release 🙂

    Plugin Author Simple Share

    (@davidoffneal)

    Hi Jenny,

    Version 3.6 now does this again by default.

    Thanks

    Thread Starter Jenny Beaumont

    (@jennybeaumont)

    Just updated, looks good, thnx!
    -jennyb

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Notices for undefined variables’ is closed to new replies.