Soporte » Guías – Resolución de problemas » Error Warning: simplexml_load_string() [function.simplexml-load-string]

  • Hola a todos,
    Hemos hecho una migración recientemente desde un hosting hacia otro, la web funciona perfectamente, pero hoy he intentado entrar en el panel de administración, y aunque puedo hacerlo, aparece esto:
    ————————————————————–

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 27: parser error : Opening and ending tag mismatch: link line 25 and head in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: </head> in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 59: parser error : Specification mandate value for attribute rel in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: <div class=»responsive» rel> in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 85: parser error : Opening and ending tag mismatch: link line 24 and html in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 87: parser error : Premature end of data in tag link line 23 in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 87: parser error : Premature end of data in tag link line 22 in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 87: parser error : Premature end of data in tag link line 15 in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 87: parser error : Premature end of data in tag meta line 8 in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 87: parser error : Premature end of data in tag head line 7 in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 87: parser error : Premature end of data in tag html line 6 in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php on line 154

    Warning: Cannot modify header information – headers already sent by (output started at /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php:154) in /home/formacio/public_html/infcampanilla.es/wp-includes/option.php on line 563

    Warning: Cannot modify header information – headers already sent by (output started at /home/formacio/public_html/*****/wp-content/themes/Crevision/inc/update_notifier.php:154) in /home/formacio/public_html/infcampanilla.es/wp-includes/option.php on line 564
    —————————————————————-

    Me deja entrar en casi todo pero a la hora de, por ejemplo, subir fotos a un plugin, da fallos y no puedo seguir.

    ¿Que problema es y cómo puedo solucionarlo?
    Muchas gracias por vuestra atención.

    Saludos.

Viendo 3 respuestas - de la 1 a la 3 (de un total de 3)
  • Dile a tu hosting que te desactive los warnings y listo. Seguramente en tu hosting antiguo no los tenías activos y por ello no notaste nada, así es que desactivándolos en el nuevo, no los verás.

    Saludos.

    Iniciador del debate JosemiRVL

    (@josemirvl)

    Hola, gracias por la respuesta.

    El problema es que tengo otro sitio web en el mismo plan del hosting, también migrado, y no me da el error anterior.

    Aparte, al usar el plugin Soliloquy, no sube las fotos, se queda como colgado, asi que entiendo que este problema tendrá algo que ver.

    Y por otra parte, también me gustaría entender y saber qué significan esos «warnings», porque alguna implicación tendrán supongo.

    Muchas gracias.
    Saludos.

    Puedes tener 40 webs y tener 39 sin warnings y solo una con warning, eso no tiene nada que ver. Tu tema esta causando los warnings y si no sabes como ocultarlos utilizando código o con el archivo htaccess, tienes que decirle a tu hosting que lo haga, tal y como te mencioné arriba.

    Ahora, si sabes como arreglar el código y no le quieres pedir a tu hosting que los quite, puedes arreglar tu tema. El warning aparece por el archivo update_notifier.php en la linea 154.

    Warnings solo son avisos que te muestran detalles en el código, pero no son errores, no te afectan, solo son avisos y si quieres solucionar todos puedes hacerlo o bien pedirle al autor del tema que lo haga, que sería lo mejor.

    Saludos.

Viendo 3 respuestas - de la 1 a la 3 (de un total de 3)
  • El debate ‘Error Warning: simplexml_load_string() [function.simplexml-load-string]’ está cerrado a nuevas respuestas.