WordPress.org

Support

Support » Plugins and Hacks » Error message from tweetbacks when inserting picture in WP

Error message from tweetbacks when inserting picture in WP

  • When I use WP Flash uploader to add images to my posts, I get the following error:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Tweetbacks_Admin::add_config_page' was given in /blog/wp-includes/plugin.php on line 339

    I receive this message instead of the normal interface that allows me to position and adjust my image.

    Any ideas on how to fix this? Tweetbacks is working on my site, but out of nowhere I get this error.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I get the error too but if I go back to insert the images, they were uploaded successfully.

    And I have a fix….

    The code to try to only create the admin class once doesn’t work right, so comment out the line:

    if ( is_admin() && ! class_exists( ‘Tweetbacks_Admin’ ) ) {

    and also the last line below (the previous endif included to help guide you to the right line:

    } // end class Tweetbacks_Admin

    } //endif

    and I believe the error will go away. Don’t know if we’ll see a slow memory leak or not, just starting to test the longer term affects now.

    Thanks! – Bob

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error message from tweetbacks when inserting picture in WP’ is closed to new replies.
Skip to toolbar