Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1105352

    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

    • This topic was modified 5 years, 6 months ago by Jaispirit.
    #1106061

    Hey Jaispirit,

    This is not the theme related issue. Is this the code added by you or some plugin?

    Best regards,
    Victoria

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.