Title: an warning about call_user_func_array
Last modified: March 5, 2019

---

# an warning about call_user_func_array

 *  Resolved [flyflyshi](https://wordpress.org/support/users/flyflyshi/)
 * (@flyflyshi)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/an-warning-about-call_user_func_array/)
 * Warning: call_user_func_array() expects parameter 1 to be a valid callback, function‘
   hc_buffer_end’ not found or invalid function name in /www/wwwroot/fineprovisions.
   cn/wp-includes/class-wp-hook.php on line 286
 * Does someone get that warning, and how to resolve it.
    Any reply is appreciated!
    -  This topic was modified 7 years, 3 months ago by [flyflyshi](https://wordpress.org/support/users/flyflyshi/).

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 3 months ago](https://wordpress.org/support/topic/an-warning-about-call_user_func_array/#post-11277327)
 * This may be a plugin or theme conflict. Please attempt to disable all plugins,
   and use one of the default (Twenty*) themes. If the problem goes away, enable
   them one by one to identify the source of your troubles.
 * If you can install plugins, install “Health Check”: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
   On the troubleshooting tab, you can click the button to disable all plugins and
   change the theme for you, while you’re still logged in, **without affecting normal
   visitors to your site**. You can then use its admin bar menu to turn on/off plugins
   and themes one at a time.
 * See [http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/](http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/)
 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/an-warning-about-call_user_func_array/#post-11278193)
 * Look first for a plugin or theme with a name that has initials of `hc`.
 *  Thread Starter [flyflyshi](https://wordpress.org/support/users/flyflyshi/)
 * (@flyflyshi)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/an-warning-about-call_user_func_array/#post-11282060)
 * I added this content as below in the file ./wp_includes/functions.php
    ## function
   hc_cdn_callback($buffer) { return str_replace(‘ajax.googleapis.com/ajax/libs/
   jqueryui/1.8.2/themes/smoothness/jquery-ui.css?ver=5.4.2’, ‘cdn.bootcss.com/jqueryui/
   1.12.1/jquery-ui.min.css’, $buffer); } function hc_buffer_start() { ob_start(“
   hc_cdn_callback”); } function izt_buffer_end() { ob_end_flush(); } add_action(‘
   init’, ‘hc_buffer_start’); add_action(‘shutdown’, ‘hc_buffer_end’); ## That is
   to replace the google link to another link. It’s resolved by deleting the last
   line.
 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/an-warning-about-call_user_func_array/#post-11282505)
 * That’s a crazy way to change a link. It’s because your function is named `izt_buffer_end`
   instead of `hc_buffere_end`.
    You really should be using the versions of jquery
   that come bundled with WordPress, because of having two versions loaded and them
   having conflicts.
 *  Thread Starter [flyflyshi](https://wordpress.org/support/users/flyflyshi/)
 * (@flyflyshi)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/an-warning-about-call_user_func_array/#post-11285842)
 * I modifed hc_buffere_end to izt_buffer_end, it worked. Thank you.
    You know it’s
   not easy to use google service from China.

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

The topic ‘an warning about call_user_func_array’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [flyflyshi](https://wordpress.org/support/users/flyflyshi/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/an-warning-about-call_user_func_array/#post-11285842)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
