• Hello!

    I have been putting this off for a while, so I don’t remember which version I was running when it started. The problem that occured (and still does) is that when I upgraded I got this error message

    XML Parsing Error: undefined entity Location: https://www.ftek.se/main/wp-admin/upgrade.php?_wp_http_referer=%2Fmain%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dall Line Number 6, Column 19:
    <title>WordPress \&rsaquo Uppdatera</title>
    ————————-^

    Somehow I discovered that if i remove the “xmlns” in the tags starting with “<html xmlns” the problem goes away. I have to do this in all files containing this, not just upgrade.php.

    I have no idea what is wrong, I would appreciate suggestions how to fix this.

    Best regards
    Ingrid

    Edit: I put a \ in front of the & because when I posted it was parsed as >…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    As the adage goes, don’t modify core files. Modifictions can cause:
    – security risks,
    – performance degradation,
    – broken plugins/themes, etc.

    Instead, I suggest try (if not already tried):
    – Flushing any caching plugins you might be running, as well as server and/or browser caches. Also, any op cache or content network cache, as well as Cloudflare, clear those caches.
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – If you can’t get into your admin dashboard, try resetting the plugins folder by FTP. Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default Twenty Fifteen theme for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins). If you don’t have access to your admin area, use FTP , or your web-host’s cPanel or whatever file management application your host provides. Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme. That will force your site to use it.
    – If all the above steps do not resolve the issue, then try MANUALLY updating. Download a fresh copy of the WordPress .zip file to your computer, unzip it, and use that to copy up all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory. You may need to delete the old wp-admin and wp-includes folders and files on your server before uploading the new ones. Read the Manual Update directions first.
    Backup: If you haven’t already done, always backup everything (including your database) before doing any actions, just in case something really goes wrong.

    Thread Starter ingstra

    (@ingstra)

    Thanks for the reply.

    – deactivating ALL (yes all) plugins temporarily to see
    – switching to the unedited default Twenty Fifteen theme for a moment

    Tried that, it did not resolve the problem.

    – If all the above steps do not resolve the issue, then try MANUALLY updating. Download a fresh copy of the WordPress .zip file to your computer, unzip it, and use that to copy up all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory

    Doesn’t help either, I always update manually.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘XML Parsing Error’ is closed to new replies.