WordPress.org

Support

Support » Plugins and Hacks » AddToAny Share Buttons » [Plugin: AddToAny: Share/Bookmark/Email Button] Plug in causing Warning messages

[Plugin: AddToAny: Share/Bookmark/Email Button] Plug in causing Warning messages

  • The plug in was causing some Warning messages to appear in place of the button. I upgraded to the latest version of the plug in but the warnings remained. Deactivating and then re-activating the plug in fixed the problem.

    Just in case anybody else has a similar problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author micropat

    @micropat

    Thanks for reporting. Do you remember what the warning message said?

    Sorry. The warnings are back and I can’t seem to figure them out. Here they are:

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/content/93/6578693/html/components/com_wordpress/wp/wp-content/plugins/add-to-any/add-to-any.php on line 150
    
    Warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/content/93/6578693/html/components/com_wordpress/wp/wp-content/plugins/add-to-any/add-to-any.php on line 153

    Any help is appreciated.

    Plugin Author micropat

    @micropat

    You’ll want to at least make sure that “error reporting” is turned off:
    http://codex.wordpress.org/Editing_wp-config.php

    Though you may have to investigate if PHP error reporting is elevated by a component other than WordPress.

    For the plugin at least, this warning message will be quelled in the next plugin release.

    Ok. I’ll give that a shot. Thanks for the info.

    @micropat,

    I’m having the same problem. As a web developer looking to integrate this plugin along with a larger project, I can’t/won’t disable error reporting on my development server.

    Would you be willing to accept patches to the plugin so that it would generate as few Warnings/Notices as possible for those of us who dial up the error reporting?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: AddToAny: Share/Bookmark/Email Button] Plug in causing Warning messages’ is closed to new replies.
Skip to toolbar