WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] WordPress upgrade – fatal error

[Resolved] WordPress upgrade – fatal error

  • 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?

Viewing 15 replies - 1 through 15 (of 15 total)
  • esmi

    @esmi

    Forum Moderator

    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

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

    esmi

    @esmi

    Forum Moderator

    No. Your customisations should be safe.

    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”

    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

    esmi

    @esmi

    Forum Moderator

    And the core files re-upload?

    no i’ve not been able to deactivate the plugins

    esmi

    @esmi

    Forum Moderator

    Why?

    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

    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?

    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.

    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.

    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?

    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?

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Resolved] WordPress upgrade – fatal error’ is closed to new replies.
Skip to toolbar