Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrea Whitmer

    (@nutsandboltsmedia)

    Hi Brad,

    We sure do! See this article (the function is closer to the bottom): https://warfareplugins.com/support/using-shortcodes-and-php-snippets/

    Thread Starter WP SITES

    (@wordpresssites)

    Thanks.

    Backend Notice: Undefined index: default in /Users/braddalton/Documents/Websites/local.dev/wp-content/plugins/social-warfare/functions/admin-options-page/admin-options-page.php on line 423

    Front End NOTICE: UNDEFINED INDEX: LOCATION_POST IN /USERS/BRADDALTON/DOCUMENTS/WEBSITES/LOCAL.DEV/WP-CONTENT/PLUGINS/SOCIAL-WARFARE/FUNCTIONS/BUTTONS-STANDARD.PHP ON LINE 276

    Andrea Whitmer

    (@nutsandboltsmedia)

    Hmmm… What version of PHP are you running locally?

    Thread Starter WP SITES

    (@wordpresssites)

    Whatever comes with Desktopserver

    Andrea Whitmer

    (@nutsandboltsmedia)

    Okay, thanks. I’ve tweeted the ServerPress guys to find out – Social Warfare requires 5.3 or higher, so I’d like to confirm that first. In general, a notice isn’t something to worry about (versus a warning or fatal error). I’m sure you’re aware of that, but we still want to look into why there is a notice in the first place.

    I use Social Warfare on several of my live sites and there are no notices even with debug turned on, but there could be a difference between the free and premium versions.

    Thread Starter WP SITES

    (@wordpresssites)

    Current PHP version: 5.5.24

    Plugin Author WarfarePlugins

    (@warfareplugins)

    Brad,

    I think I might know what’s happening. When we updated to 2.0, we changed the name of that specific index in that array. So it should go away if you just click to save your settings on the options page. That should push all the new names into the options set. After you save changes, just refresh the page and it should go away.

    Any chance that that takes care of it?

    -Nick

    Thread Starter WP SITES

    (@wordpresssites)

    Yes, that fixes the error messages.

    Thanks Nick

    I gave you a link in this tutorial about adding social buttons to a widget area without using the shortcode.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Function Call’ is closed to new replies.