WordPress.org

Ready to get started?Download WordPress

Forums

Social Media Widget
PHP Notice, Undefined Index: pinterest on line 66 (10 posts)

  1. andrewmills
    Member
    Posted 1 year ago #

    Good morning, Brian

    Great plugin, makes things easier for us & clients.

    I'm trying to resolve a PHP notice in our debug.log, and hoping you can possibly help provide some insight. The notice we're receiving is this:

    PHP Notice: Undefined index: pinterest in /homepages/25/d282327004/htdocs/wp-content/plugins/social-media-widget/social-widget.php on line 66

    Are the indexes being used in the $instance array defined somewhere, and I'm just missing the one for pinterest?

    Unrelated, but while I was studying the code-- I think comment on line 879 is meant to be GooglePlus, not Facebook?

    http://wordpress.org/extend/plugins/social-media-widget/

  2. brianfreytag
    Member
    Posted 1 year ago #

    I'm gonna be honest.. I probably screwed something up with the pinterest one. It had been awhile since I updated the plugin and I just did a lot of copy and paste. I'll take a look at the code later this week and try to sort that out.

    I'm sure you're right about the commenting (another Copy/Paste miss more than likely).

    Thanks for bringing these to my attn.

  3. andrewmills
    Member
    Posted 1 year ago #

    I understand re: copy & paste-- been there myself. Thanks for taking a look.

  4. mnystedt
    Member
    Posted 1 year ago #

    Sorry to jump in, but has there been a fix for this? I use the latest version and still have this issue apparently.

  5. brianfreytag
    Member
    Posted 1 year ago #

    Can you guys do me a favor and go into your widget configuration, don't make any changes and then hit save and let me know if the issue goes away for you?

  6. brianfreytag
    Member
    Posted 1 year ago #

    I pushed out 2.9.5 which fixes the mislabeled comment. As for the index issue, i wasn't able to duplicate, unfortunately, which is why I asked for you to try the Save option. It may be possible that it just didn't save that icon's blank url in the database for some reason or another. No idea.

  7. Jay
    Member
    Posted 1 year ago #

    Just would like to confirm that the "Save" trick works for me! Thanks, brianfreytag.

  8. mvandemar
    Member
    Posted 1 year ago #

    Guys, this plugin was yanked due to having Malware it in:

    http://wordpress.org/support/topic/anyone-know-why-social-media-widget-was-removed

  9. Jay
    Member
    Posted 1 year ago #

    Oh, man... Thank you for letting us know!

    Have you found any good substitute for this plugin?

  10. brianfreytag
    Member
    Posted 1 year ago #

    I just want to make it clear that I have not been the maintainer of Social Media Widget since January of 2013 (version 2.9.7).

    This post is to disassociate myself with this issue. I want the record to reflect that this issue arose months after I passed off the widget and have not had SVN access since signing over the widget in January. As the original creator of Social Media Widget and beginning its legacy, I want to remain clean of this in the case I decide to release a new WordPress plugin.

    I had a discussion with the current maintainer whom I transferred the rights over to - It seems that one of the freelancers that he hired to do some updates decided to go rogue or his password was cracked, though you will have to hear it from him for the full story.

    -- Update - Changed the version I last pushed in the first paragraph

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic