Dear ENFOLD Support
The logfiles show following error:
23537#0: *6950 FastCGI sent in stderr: “PHP message: PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wdc_load_fonts’ not found or invalid function name in /var/www/vhosts/xxx/xxx/wp-includes/class-wp-hook.php on line 286” while reading response header from upstream
foreach ( $this->callbacks[ $priority ] as $the_ ) {
if ( ! $this->doing_action ) {
$args[0] = $value;
}
// 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'] ) );
}
What is the proper way to correct that?
Best regards
Hey Jaispirit,
This is not the theme related issue. Is this the code added by you or some plugin?
Best regards,
Victoria