Title: call_user_func_array
Last modified: February 28, 2017

---

# call_user_func_array

 *  [adorkablii](https://wordpress.org/support/users/adorkablii/)
 * (@adorkablii)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/call_user_func_array-4/)
 * Hello,
    Last night I decided to change my blog them as I was having too many 
   coding issues with the other. I went back to Genisis and I purchased a new theme.
   However, after installing I now have this error in my dashboard.
 * I am really unsure what this error means and how to fix it. I found the file 
   in my FTC and I see like 298 but I am not sure anything is wrong with it.
 * `<b>Warning</b>: call_user_func_array() expects parameter 1 to be a valid callback,
   function 'ingrid_load_admin_styles' not found or invalid function name in <b>/
   home/content/80/10448980/html/wp-includes/class-wp-hook.php</b> on line <b>298
   </b><br />`
 * This is the code within the file
 *     ```
       	// Avoid the array_slice if possible.
       				if ( $the_['accepted_args'] == 0 ) {
       					$value = call_user_func_array( $the_['function'], array() );
       				} elseif ( $the_['accepted_args'] >= $num_args ) {
       					$value = call_user_func_array( $the_['function'], $args );
       				} else {
       					$value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int)$the_['accepted_args'] ) );
       				}
       ```
   
 * Line 298 is under } elseif
 * Can someone help me with this please?

The topic ‘call_user_func_array’ is closed to new replies.

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [callback](https://wordpress.org/support/topic-tag/callback/)
 * [wp hook](https://wordpress.org/support/topic-tag/wp-hook/)

 * 0 replies
 * 1 participant
 * Last reply from: [adorkablii](https://wordpress.org/support/users/adorkablii/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/call_user_func_array-4/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
