Support » Fixing WordPress » Warning: call_user_func_array()

  • Hi together,
    this is the error, that wordpress display at the bottom of my site
    Warning: call_user_func_array() []: First argument is expected to be a valid callback, ‘Array’ was given in /mnt/web1/63/84/536484/htdocs/WordPress_03/wp-includes/plugin.php on line 405

    And this is the code on line 402-405 in my plugin.php:
    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’]));

    Has anybody an idea? Thank you!!


Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi


    Forum Moderator

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    Hi esmi,

    resetting the plugins folder via ftp was a good idea. Now I know, that it has nothing to do with my theme or the functions.php.
    Thank you!

    best regards



    Forum Moderator

    Glad I could help 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: call_user_func_array()’ is closed to new replies.