Title: Warning: call_user_func_array() expects parameter
Last modified: August 27, 2020

---

# Warning: call_user_func_array() expects parameter

 *  [DGalilea](https://wordpress.org/support/users/dgalilea/)
 * (@dgalilea)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/warning-call_user_func_array-expects-parameter-5/)
 * Good afternoon!
 * In the admin dashboard appear this error:
 * Warning: call_user_func_array() expects parameter 1 to be a valid callback, function‘
   fix_avas’ not found or invalid function name in /home/customer/www/webname/public_html/
   wp-includes/class-wp-hook.php on line 287
 * I checked this file and there is nothing about that in the line 287
 *     ```
       // Avoid the array_slice() if possible.
       				if ( 0 == $the_['accepted_args'] ) {
       					$value = call_user_func( $the_['function'] );
       				} elseif ( $the_['accepted_args'] >= $num_args ) {
       					//Following line 287
       					$value = call_user_func_array( $the_['function'], $args );
       				} else {
       					$value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int) $the_['accepted_args'] ) );
       				}
       ```
   
 * I used String Locator looking for fix_avas and nothing. No one result appeared.
 * Any suggestion?
 * Thanks in advance!
    -  This topic was modified 5 years, 9 months ago by [DGalilea](https://wordpress.org/support/users/dgalilea/).

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/warning-call_user_func_array-expects-parameter-5/#post-13342245)
 * Unfortunately, the error message only tells us where the error was discovered,
   not where the root cause occurred. To learn the root cause, we need data from`
   debug_backtrace()`. There is an example custom error handler code on the ‘net
   somewhere that utilizes this data, which you can use to have the full backtrace
   be displayed upon PHP errors. It can be pretty useful, but before you go searching
   for that, the end result is still going to be fix_avas() function is not found.
   All the backtrace tells us is where the initial callback using the function is.
   It’s not going to find the function anyway.
 * Do you have any idea what fix_avas() is supposed to be? What theme or plugin 
   it might be from? You could try using `grep` or similar search utility to search
   all modules in themes and plugins folders for either “fix_avas” or just “avas”
   in hopes of identifying where the function is supposed to be declared. Your issue
   is something to take up with the devs of that module, getting a backtrace isn’t
   going to tell you who that is.

Viewing 1 replies (of 1 total)

The topic ‘Warning: call_user_func_array() expects parameter’ is closed to new replies.

## Tags

 * [warning error](https://wordpress.org/support/topic-tag/warning-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/warning-call_user_func_array-expects-parameter-5/#post-13342245)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
