• Every time I think I’ve got a handle on WP some crazy error happens and it becomes a learning experience all over again. That being said, please bear with me as I am mostly a front-end designer and I’m on quite a learning curve when managing script errors.

    To give as many details here’s what I know:

    – Running WordPress 4.0 (upgraded by another w/o my knowledge) with the Allure theme (by Spacehead concepts which is now apparently closed)
    – Hosting server is running PHP 5.2 (should be upgraded but now I’m kind of scared, might help, might break everything is what I’m told and it’s undoable)
    – Can’t updated a page just get all the php errors. Technically it updates but it deletes a lot of the page’s text.
    -The media library doesn’t show any images, but they are technically uploading

    My thoughts:
    – The theme is out of date and causing all these issues. And I can’t turn to Spacehead Concepts because they don’t exist anymore. I would like to try and deactivate the current theme but I’m afraid I won’t be able to return to the other one or something crazy.
    – The PHP engine needs to be updated on the hosting server

    Looking for any advice and thank you in advance!

    Here is a list of the errors:

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 6: parser error : Opening and ending tag mismatch: hr line 5 and body in /home/content/93/7379993/html/wp-content/themes/allure/functions/update_notifier.php on line 86

    Warning: simplexml_load_string() [function.simplexml-load-string]: </body> in /home/content/93/7379993/html/wp-content/themes/allure/functions/update_notifier.php on line 86

    Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/content/93/7379993/html/wp-content/themes/allure/functions/update_notifier.php on line 86

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 7: parser error : Opening and ending tag mismatch: body line 3 and html in /home/content/93/7379993/html/wp-content/themes/allure/functions/update_notifier.php on line 86

    Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /home/content/93/7379993/html/wp-content/themes/allure/functions/update_notifier.php on line 86

    Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/content/93/7379993/html/wp-content/themes/allure/functions/update_notifier.php on line 86

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 8: parser error : Premature end of data in tag html line 1 in /home/content/93/7379993/html/wp-content/themes/allure/functions/update_notifier.php on line 86

    Warning: simplexml_load_string() [function.simplexml-load-string]: in /home/content/93/7379993/html/wp-content/themes/allure/functions/update_notifier.php on line 86

    Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/content/93/7379993/html/wp-content/themes/allure/functions/update_notifier.php on line 86

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/93/7379993/html/wp-content/themes/allure/functions/update_notifier.php:86) in /home/content/93/7379993/html/wp-content/plugins/slidedeck2-personal/lib/flash.php on line 63

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/93/7379993/html/wp-content/themes/allure/functions/update_notifier.php:86) in /home/content/93/7379993/html/wp-content/plugins/slidedeck2-personal/lib/flash.php on line 63

Viewing 4 replies - 1 through 4 (of 4 total)
  • It does look like the majority of your warnings are coming from that theme, though you’re also getting a couple from a plugin called slidedeck.

    If it were me, I would switch to a default theme and then take another look at where things are PHP-warning-wise. Deactivating that plugin would be step two if there are still warnings coming from it. If everything works after these two steps, you will at least have confirmation that your conclusions about source of the problems is correct, then you can decide what to do to fix them long-term.

    If you can’t access Appearance -> Themes to switch themes, you can do so via a file manager or FTP by first making sure a default theme is installed for WordPress to fall back to, then temporarily renaming the folder /wp-content/themes/allure to something like /wp-content/themes/allure-disabled and then refreshing your admin.

    I agree that it would be a good idea to upgrade your server to the current stable version of PHP, but I’d get WordPress working first so as not to confuse things further.

    Thread Starter samstone87

    (@samstone87)

    Thank you! I’ll post later how it all goes.

    Thread Starter samstone87

    (@samstone87)

    So I could still reach my themes, I activated the Twenty Fourteen and ALL the PHP errors disappeared in my dashboard. It looks like whatever is bad in that script on line 86 was the problem. Unfortunately my PHP knowledge is very limited so that’s that I guess!

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    The most important thing you can do on a production server: Turn off the display_errors setting.

    Warnings and Notices like these should never be displayed on a live server. Ask your host how you can set your PHP.INI settings, and turn off the display_errors setting entirely. That is a development and debug setting, it should not be on by default.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Lots of PHP Errors in Dashboard’ is closed to new replies.