Title: call_user_func_array() expects parameter 1 to be a valid callback
Last modified: September 10, 2019

---

# call_user_func_array() expects parameter 1 to be a valid callback

 *  Resolved [sg](https://wordpress.org/support/users/karhas/)
 * (@karhas)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/call_user_func_array-expects-parameter-1-to-be-a-valid-callback-17/)
 * Hello, when I update the plugin, I get a message of “Warning: call_user_func_array()
   expects parameter 1 to be a valid callback, class ‘AdminClass’ does not have 
   a method ‘custom_404_pro_upgrader’ in public_html/wp-includes/class-wp-hook.php
   on line 286” Can you help me correct this, please?

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

 *  Plugin Author [Kunal](https://wordpress.org/support/users/kunalnagar/)
 * (@kunalnagar)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/call_user_func_array-expects-parameter-1-to-be-a-valid-callback-17/#post-12047222)
 * [@karhas](https://wordpress.org/support/users/karhas/) thanks for using the plugin!
   I’m assuming you’re upgrading from a previous version. Could you remove the plugin
   altogether and install a fresh version? Remember to remove it from the Plugins
   menu as that will also cleanup any database tables. Let me know if that works!
 *  Thread Starter [sg](https://wordpress.org/support/users/karhas/)
 * (@karhas)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/call_user_func_array-expects-parameter-1-to-be-a-valid-callback-17/#post-12061807)
 * Hi, I did try the steps above a few times, even cleaned up db w WP-Optimize but
   am still getting: Warning: call_user_func_array() expects parameter 1 to be a
   valid callback, class ‘AdminClass’ does not have a method ‘custom_404_pro_upgrader’
   in /home/sitename/public_html/wp-includes/class-wp-hook.php on line 286
 * Thanks!
 *  Plugin Author [Kunal](https://wordpress.org/support/users/kunalnagar/)
 * (@kunalnagar)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/call_user_func_array-expects-parameter-1-to-be-a-valid-callback-17/#post-12062171)
 * [@karhas](https://wordpress.org/support/users/karhas/) I’ve released version 
   3.2.13, can you install that and see if it fixes the issue?

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

The topic ‘call_user_func_array() expects parameter 1 to be a valid callback’ is
closed to new replies.

 * ![](https://ps.w.org/custom-404-pro/assets/icon-256x256.png?rev=2346327)
 * [Custom 404 Pro](https://wordpress.org/plugins/custom-404-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-404-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-404-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-404-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-404-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-404-pro/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Kunal](https://wordpress.org/support/users/kunalnagar/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/call_user_func_array-expects-parameter-1-to-be-a-valid-callback-17/#post-12062171)
 * Status: resolved