Fatal error in WP-PostRatings plugin
-
Buenas tardes,
Tras actualizar varios plugins, me he dado cuenta que en la pagina donde deberia salir la opción para puntuar la entrada(plugin WP-PostRatings) me aparece este error:
Fatal error: Call to undefined function has_header_image() in /home/xxxxxxx/public_html/blog/wp-content/plugins/wp-postratings/wp-postratings.php on line 1087
Ademas debido a este error, tampoco carga el plugin para dejar un comentario, el footer, …
Os pego un trozo del codigo al que hace referencia el error:
}
if( empty( $site_logo ) ) {
if( has_header_image() ) {
$header_image = get_header_image();
if( ! empty( $header_image ) ) {
$site_logo = $header_image;
}
}Si desactivo el plugin el resto de la pagina carga perfectamente.
Podeis echarme una mano?
Muchas Gracias
English:
Good afternoon,After updating several plugins, I noticed that on the page where I should leave the option to score the text (plugin WP-PostRatings) I get this error:
Fatal error: Call to undefined function has_header_image () in /home/xxxxxxx/public_html/blog/wp-content/plugins/wp-postratings/wp-postratings.php on line 1087
Also because of this error, it does not load the next plugin to leave a comment, the footer, …
I write a piece of code to which the error refers:
}
if( empty( $site_logo ) ) {
if( has_header_image() ) {
$header_image = get_header_image();
if( ! empty( $header_image ) ) {
$site_logo = $header_image;
}
}If I disable the plugin, the rest of the page loads perfectly.
Can you help me?
Thank you so much
The topic ‘Fatal error in WP-PostRatings plugin’ is closed to new replies.