Title: scott@printelectric.com's Replies | WordPress.org

---

# scott@printelectric.com

  [  ](https://wordpress.org/support/users/scottprintelectriccom/)

 *   [Profile](https://wordpress.org/support/users/scottprintelectriccom/)
 *   [Topics Started](https://wordpress.org/support/users/scottprintelectriccom/topics/)
 *   [Replies Created](https://wordpress.org/support/users/scottprintelectriccom/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/scottprintelectriccom/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/scottprintelectriccom/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/scottprintelectriccom/engagements/)
 *   [Favorites](https://wordpress.org/support/users/scottprintelectriccom/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Add to Any: Subscribe Button] I get an error!](https://wordpress.org/support/topic/plugin-add-to-any-subscribe-button-i-get-an-error/)
 *  [scott@printelectric.com](https://wordpress.org/support/users/scottprintelectriccom/)
 * (@scottprintelectriccom)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-add-to-any-subscribe-button-i-get-an-error/#post-1411693)
 * Hi. I realize this is an old post – hopefully you’ve fixed or blown this off 
   by now – but the easy fix for me was to check that the variable is set before
   referencing it. This involved editing the PHP code for the plug-in, so if you’re
   uncomfortable with that, stop reading now. But it’s actually a pretty easy fix:
 * ORIGINAL CODE:
    `if( $button_fname == 'favicon.png' || $button_fname == 'share_16_16.
   png' ) {`
 * EDIT
    `if ( (isset($button_fname)) && ($button_fname == 'favicon.png' || $button_fname
   == 'share_16_16.png' ) ) {`
 * The idea is
 * if ( (variable is set) AND ( condition1 OR condition2 ) ) {
    …do something }
 * The error is occurring bc. PHP is trying to check the value of a variable that
   does not exist.
 * Of course the easiest fix is to turn off debug mode in WordPress 😉

Viewing 1 replies (of 1 total)