Forums

Warning: call_user_func_array Help! (5 posts)

  1. kenhead
    Member
    Posted 10 months ago #

    I am getting this error which seems to be preventing the them from loading up on my site:
    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'mytheme_add_admin' was given in /home/public_html/site name/wp-includes/plugin.php on line 405

    The site was working fine until this morning. I did update to the latest version of WordPress 3.2.1 and also did some updates to various plugins this morning which one of which probably started the issue.

    I have disabled all plugins yet the error persists. I have even deleted the plug-ins that had been updated and re-installed and still have the error. Other themes load fine so I know it's my theme, I just don't know how to fix it.

    Line 405 in plugin.php looks like this:

    do {
    foreach ( (array) current($wp_filter[$tag]) as $the_ )
    if ( !is_null($the_['function']) )
    call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));

    } while ( next($wp_filter[$tag]) !== false );

    array_pop($wp_current_filter);
    }

    I am at a standstill with my site down. please help me get this sorted out.
    Thanks in advance

  2. Chip Bennett
    Member
    Posted 10 months ago #

    What Theme are you using?

  3. kenhead
    Member
    Posted 10 months ago #

    a theme called fancy which came from here:
    http://www.wordpressmanual.com/page/5/

    demo here:
    http://www.wordpressmanual.com/demos/wp121/

    Heavily re-skined however. The them had been working for a good 6 months before today.

  4. kenhead
    Member
    Posted 10 months ago #

    looks like the demo is suffering from the same issue as the site does not load only the background. So at least I know it's an issue with the theme itself now. Now I just need to figure out how to fix it!.

    Any help is much appreciated.

  5. kenhead
    Member
    Posted 10 months ago #

    still no luck with a fix. any help would be much appreciated.
    thanks

Reply

You must log in to post.

About this Topic