WordPress.org

Ready to get started?Download WordPress

Forums

fatal error on wordpress upgrade (6 posts)

  1. stressed
    Member
    Posted 6 years ago #

    Hiya all - please helped, at tearing hair out point!!

    This query has been posted before - I am getting a fatal error at the "run wordpress upgrade program" step in the instructions ...

    Fatal error: Call to undefined function _http_build_query() in /home/realmums/public_html/you/wp-includes/functions.php on line 583

    I note that someone had it resolved by uploading ensuring ASCII file transfer - did this, and as I am special, it didn't work for me.

    Am total techno pleb - please use small words :)

    Also getting an error when I check out the site

    Fatal error: Call to undefined function update_object_term_cache() in /home/realmums/public_html/you/wp-includes/post.php on line 1779

    What am I doing wrong????????????

    Thanks!

    Your,
    Completely Frazzled

  2. moshu
    Member
    Posted 6 years ago #

    Usually, errors like above refer to incomplete or corrupted files. Try to upload a fresh WP package.

  3. stressed
    Member
    Posted 6 years ago #

    Thanks, will give that a go :)

  4. Joni
    Member
    Posted 6 years ago #

    I advise people to upgrade by doing the following (because doing otherwise may be quicker at first blush, but not if there are problems, as you have discovered).

    1. Backup your MySQL database either thru PHPMyAdmin or thru the handy WP Backup plugin.

    2. Disable all your plugins (a cheat is to rename the /plugins folder thus fooling WP into thinking it (and the plugins) no longer exist).

    3. delete all the *.php files in your root EXCEPT wp-config.php.

    4. Delete /wp-admin

    5. Delete /wp-includes

    6. Upload fresh versions of the WP files.

    7. Run the upgrade.php file from your /admin/ folder.

    8. Rename your plugins folder or enable the plugins (one by one to be sure things are quiet).

    Should be good to go.

  5. moshu
    Member
    Posted 6 years ago #

    9. If you are using the default or classic theme and/or Akismet - check the untouched wp-content folder for an eventual upgrade of those :)

  6. Joni
    Member
    Posted 6 years ago #

    Thanks Moshu!

Topic Closed

This topic has been closed to new replies.

About this Topic