WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress upgrade - fatal error (16 posts)

  1. Rachel TED
    Member
    Posted 1 year ago #

    I updated my wordpress website and then received the below error.
    Fatal error: Call to undefined function wp() in /home2/rmiller/public_html/wp-blog-header.php on line 14

    I cannot login to WordPress to see the dashboard.

    How do I resolve this?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Try:
    - switching to the default theme by renaming your current theme's folder inside wp-content/themes and adding "-old" to the end of the folder name using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    - running the upgrade manually via wp-admin/upgrade.php

  3. Rajesh Soni
    Member
    Posted 1 year ago #

  4. Rachel TED
    Member
    Posted 1 year ago #

    thanks guys. if i follow esmi's advice will i loose all the customisations that i have done in my theme?

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    No. Your customisations should be safe.

  6. Rachel TED
    Member
    Posted 1 year ago #

    ok, I am trying to reset your plugins folder via FTP or the file manager provided in your host's control panel. I can do steps one and two, but I cannot do step 3 as my site still shows the fatal error. is step 3 via the wordpress dashboard? if it is I cannot access the dashboard

    1. Via FTP or your host's file manager, navigate to the wp-contents folder (directory)
    2. Via FTP or your host's file manager, rename the folder "plugins" to "plugins.hold"
    3. Login to your WordPress administration menus (/wp-admin)
    4. Via FTP or your host's file manager, rename "plugins.hold" back to "plugins"

  7. Rachel TED
    Member
    Posted 1 year ago #

    ok i've just tried to deactivate plugins by using phpMyAdmin and in the table wp_options, under the option_name column (field) I do not have an active_plugins row

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    And the core files re-upload?

  9. Rachel TED
    Member
    Posted 1 year ago #

    no i've not been able to deactivate the plugins

  10. esmi
    Forum Moderator
    Posted 1 year ago #

    Why?

  11. Rachel TED
    Member
    Posted 1 year ago #

    I first tried to reset the plugins.

    I can do steps one and two below, but I cannot do step 3 as my site still shows the fatal error. is step 3 via the wordpress dashboard? if it is I cannot access the dashboard.

    1. Via FTP or your host's file manager, navigate to the wp-contents folder (directory)
    2. Via FTP or your host's file manager, rename the folder "plugins" to "plugins.hold"
    3. Login to your WordPress administration menus (/wp-admin)
    4. Via FTP or your host's file manager, rename "plugins.hold" back to "plugins"

    I also tried by using phpMyAdmin
    and in the table wp_options, under the option_name column (field) I DO NOT have an active_plugins row

  12. Rachel TED
    Member
    Posted 1 year ago #

    I've deleted the plugin folder and add a fresh folder after re-downloading wordpress. still get the same error.

    As my error mentions wp-blog-header.php is it something to do with that file?

  13. wprock
    Member
    Posted 1 year ago #

    Download the WP 3.5.1 from wordpress.org Next extract the zip and upload the all files and folders except the wp-content folder via FTP.

  14. Rachel TED
    Member
    Posted 1 year ago #

    ok, I think I have really messed my site up know changing a deleting files. In cpanel my disk space usage is over the limit. How do I reset everything on my site so that I'm back to the base of just having wordpress installed and I'll start again.

  15. Rachel TED
    Member
    Posted 1 year ago #

    ok, I think I have really messed my site up know changing a deleting files. In cpanel my disk space usage is over the limit.

    How do I reset everything on my site so that I'm back to the base of just having wordpress installed and I'll start again please?

  16. BruceWinterton
    Member
    Posted 1 year ago #

    I have the same error but I can't even get into my site. How do I get into my site to make some fixes?

Topic Closed

This topic has been closed to new replies.

About this Topic