WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Upgrading I left plug-ins enabled by accident. Fatal error call?

[Resolved] Upgrading I left plug-ins enabled by accident. Fatal error call?

  • Hi

    Being a retard, I left my plug-ins activated while uploading the new files for 2.0.5 and of course now I get a blank screen with an error message:

    Fatal error: Call to undefined function: wp_get_current_user() in /blah/blah/wp-includes/capabilities.php on line 312

    Now, I’m hoping there is a way for me to disable the plug-ins manually?

    Any ideas?

Viewing 8 replies - 1 through 8 (of 8 total)
  • If you really need it, you can just go through FTP an delete them.

    Before that you could try to upload a fresh copy of the WP files – files get corrupted more often than you’d think; and see if it changes anything.
    Uploading a fresh copy does NOT require to run the upgrade script.

    EDIT. And only ONE post about the same question! Duoplicate posts get deleted.

    FTP to the site and move ’em out of the wp-content/plugins directory.

    What version did you upgrade from?

    Did you run the wp-admin/upgrade.php file?

    2.0.1 -> 2.0.5

    Have tried reuploading the files. No joy.

    Tried running upgrade.php but got the same error message.

    Will now try moving the plugin files…

    Fingers crossed.

    Thanks for your help guys.

    No luck moving the plugins.

    Though I’ve taken a look in the pluggable-functions.php file to try and find the function:

    wp_get_current_user()

    but the only function resembling it seems to be:

    get_current_user()

    Might try renaming the function… Fingers crossed.

    Make sure you’re updating ALL the files with the new release (perhaps reupload everything in wp-admin again).

    Make sure that your FTP client is set to move the PHP files in text or ascii mode.

    Don’t change, modify core files! It means the file was NOT uploaded correctly or completely.

    Ah… Decided against renaming the functions.

    Opted instead to delete the entire wp-includes folder.

    Then uploaded again the NEW files.

    Tried wp-admin/upgrade.php SUCCESS

    Restored the plugins folder.

    Tried wp-admin/upgrade.php again SUCCESS

    Just completed upgrade progress.

    After a very long pause…

    SUCCESS

    All seems to be fine.

    😀

    I noticed that in the wp-includes/ folder there is a “cache” file.

    Could it be that the ‘new’ WordPress gets confused by the ‘old’ cache file?

    Hmmm…

    Anyway. All fixed… I hope.

    Excellent — glad to hear you got it squared away.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Upgrading I left plug-ins enabled by accident. Fatal error call?’ is closed to new replies.