$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>errors - Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'add_custom_scripts&#3|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

errors - Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'add_custom_scripts&#3

matteradmin8PV0评论

I have facing a problem of this error from last week. I search a lot on google but didn't find any solution. / This is my website and

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'add_custom_scripts' not found or invalid function name in /home/www/delegatehosting/wp-includes/class-wp-hook.php on line 286.

This is the issue which i facing

I have facing a problem of this error from last week. I search a lot on google but didn't find any solution. https://delegatehosting/ This is my website and

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'add_custom_scripts' not found or invalid function name in /home/www/delegatehosting/wp-includes/class-wp-hook.php on line 286.

This is the issue which i facing

Share Improve this question edited Mar 19, 2019 at 10:22 fuxia 107k39 gold badges255 silver badges461 bronze badges asked Mar 19, 2019 at 5:59 Alan FranklinAlan Franklin 11 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

add_action takes a valid callable function as second parameter. Wordpress is unable to find add_custom_scripts function which is being used to add some custom scripts probably, may be its not defined anywhere. You might have to look into fucntions.php file of your active theme/child-theme, find the add_action where second parameter is passed add_custom_scripts. There are two things you can do after finding this line.

  1. Change the add_custom_scripts to a valid callable function.
  2. Comment that line if you don't need want to use that .
Post a comment

comment list (0)

  1. No comments so far