Title: Warning: call_user_func_array()
Last modified: October 12, 2018

---

# Warning: call_user_func_array()

 *  [palmer1975](https://wordpress.org/support/users/palmer1975/)
 * (@palmer1975)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/warning-call_user_func_array-34/)
 * Warning: call_user_func_array() expects parameter 1 to be a valid callback, function‘
   redirect_non_logged_users_to_specific_page’ not found or invalid function name
   in /homepages/43/d667748360/htdocs/wp-includes/class-wp-hook.php on line 286
 * i have deactivated all plugins and still have this problem
 * this is the line 286
 * $value = call_user_func_array( $the_[‘function’], $args );
 * its a website that i have took over from someone else to maintain

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [HudsonValleyWebDesign](https://wordpress.org/support/users/jaycbrf/)
 * (@jaycbrf)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/warning-call_user_func_array-34/#post-10774838)
 * Have you tried switching to a default 20** theme to see if the error persists?
 *  [Dion](https://wordpress.org/support/users/diondesigns/)
 * (@diondesigns)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/warning-call_user_func_array-34/#post-10774874)
 * The problem is in your theme. Check its functions.php file for a line containing`
   redirect_non_logged_users_to_specific_page` — it will be in a line that starts
   with `add_action` or `add_filter`. If you find the line, either delete it or 
   insert two forward slashes at the start so it looks similar to this:
 *     ```
       //add_action('hook', 'redirect_non_logged_users_to_specific_page', 10, 2);
       ```
   
 * The numbers at the end of the line may not be present, and “hook” is a placeholder
   for the name of the hook.
 * This should resolve the error. You should also contact the theme’s author and
   report this problem. They may have a better solution…perhaps an update has fixed
   the problem.

Viewing 2 replies - 1 through 2 (of 2 total)

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Dion](https://wordpress.org/support/users/diondesigns/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/warning-call_user_func_array-34/#post-10774874)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
