• I’m getting this error message in a few places in the dashboard:

    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 /home/content/p/u/r/purplehays/html/Blog/wp-includes/plugin.php on line 311

    Any suggestions for repair?

    Thanks! – Bob

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter electricbob

    (@electricbob)

    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

    Thanks Bob !

    it’s worked for me. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Tweetbacks] call_user_func_array warning message’ is closed to new replies.