WordPress Mensagem de erro
-
Estou com o seguinte erro: “Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wp_ob_end_flush_all’ not found or invalid function name in C:\xampp\htdocs\site\wp-includes\class-wp-hook.php on line 287”
Ele aparece no final da página do wordPress. Estou utilizando um tema filho. Como posso resolver?
Obrigado.
Leonardo// Avoid the array_slice() if possible.
if ( 0 == $the_[‘accepted_args’] ) {
$value = call_user_func( $the_[‘function’] );
} elseif ( $the_[‘accepted_args’] >= $num_args ) {
/*esta é a referida linha no arquivo wp-hook.php*/ $value = call_user_func_array( $the_[‘function’], $args );
} else {
$value = call_user_func_array( $the_[‘function’], array_slice( $args, 0, (int) $the_[‘accepted_args’] ) );
}
}
} while ( false !== next( $this->iterations[ $nesting_level ] ) );
- The topic ‘WordPress Mensagem de erro’ is closed to new replies.