WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddThis
[resolved] [Plugin: AddThis] Warning when switching themes (7 posts)

  1. websitedesignby
    Member
    Posted 2 years ago #

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'AddThis_addjs' does not have a method 'switch_theme' in /wp-includes/plugin.php on line 405

    Only on latest version 2.4

    Warning does not occur on previous version 2.3.2

    http://wordpress.org/extend/plugins/addthis/

  2. Solinx
    Member
    Posted 2 years ago #

    Same problem here, with WP version 3.4 (nightly build).

  3. HFlame7
    Member
    Posted 2 years ago #

    Same problem here. Using WordPress 3.3.2 and AddThis version 2.4.0.

    Disabling AddThis, switching themes, and then re-enabling AddThis is a temporary workaround/fix to this.

  4. Aaron Jorbin
    Member
    Posted 2 years ago #

    I've fixed this in the development version and will be tagging a new version tomorrow after I've done a bit more testing.

  5. Solinx
    Member
    Posted 2 years ago #

    That is great to hear. Thanks for your quick response!

  6. Aaron Jorbin
    Member
    Posted 2 years ago #

    this is fixed in 2.4.1

  7. HFlame7
    Member
    Posted 2 years ago #

    Thanks Aaron!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.