Sociable Plugin Error With Wordpress 2.2.1

There seems to be a bug with the Sociable plugin, for which I provide a hacked version with a couple of minor modifications. The bug seems to only be for users of Wordpress 2.2.1 (which you should upgrade to for security reasons)

When you save options, the following error is encountered

Warning: implode() [function.implode]: Bad arguments. in /home/andyeu/public_html/wp-content/plugins/sociable/sociable.php on line 659

Warning: Invalid argument supplied for foreach() in /home/andyeu/public_html/wp-content/plugins/sociable/sociable.php on line 770

The display of all the draggable icons is severely messed up.

From what I can see in the code (as a tinkerer, not a programmer), this does not prevent the options from being saved, and the correct saved settings appear to be reflected when the page is refreshed, and on the blog itself.

The error appears to be in a section of the code that is related to the default icon set, but I haven’t spent too much time trying to fix it, as I would hope this will be fixed in the original.

I don’t look on my version of the plugin as a branch, I have left all default options “as-is”, thus I will await an official fix, and then update my slightly modified version.

Many thanks to Edwin De Jong and Mindy Koch for making me aware of the problem so I could test it out with WP2.2.1

p.s. I did try to coax a website out of Edwin to link too, but he declined

Related posts

This entry was posted in SEO Blog, blogging tips, plugins, wordpress and tagged , , , , . Bookmark the permalink. Both comments and trackbacks are currently closed.

3 Comments

  1. mattsofi (7 comments.)
    Posted June 28, 2007 at 3:21 pm | Permalink

    Andy,

    Some typo error on the last paragraph.
    Should it be WP2.2.1 instead of WP2.1.1 ?

    • Andy Beard (1685 comments.)
      Posted June 28, 2007 at 3:34 pm | Permalink

      Oops, it was actually twice in the article :( – thanks

  2. marenda (2 comments.)
    Posted August 7, 2007 at 10:12 pm | Permalink

    Thanks I installed this just now and its working fine from what I can tell when i hit restore default in options the errors disappeared then I was able to save my preferences. You rock Andy thanks again :)