WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddToAny
[Plugin: AddToAny: Share/Bookmark/Email Button] Plug in causing Warning messages (6 posts)

  1. rjjacob
    Member
    Posted 3 years ago #

    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.

  2. micropat
    Member
    Plugin Author

    Posted 3 years ago #

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

  3. rjjacob
    Member
    Posted 2 years ago #

    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.

  4. micropat
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  5. rjjacob
    Member
    Posted 2 years ago #

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

  6. deltafactory
    Member
    Posted 2 years ago #

    @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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags