WordPress.org

Ready to get started?Download WordPress

Forums

Warning: call_user_func_array() (4 posts)

  1. maerzle
    Member
    Posted 2 years ago #

    Hi together,
    this is the error, that wordpress display at the bottom of my site http://www.ecoevent.de:
    Warning: call_user_func_array() [function.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!!

    Thomas

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    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.

  3. maerzle
    Member
    Posted 2 years ago #

    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
    Thomas

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Glad I could help :-)

Topic Closed

This topic has been closed to new replies.

About this Topic