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

Liked this post? Follow this blog to get more. Follow

Comments

  1. says

    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 :)