WordPress.org

Ready to get started?Download WordPress

Forums

WordPress-Amazon-Associate
[resolved] Fatal error (5 posts)

  1. Temlakos
    Member
    Posted 2 years ago #

    I just did the automatic plugin upgrade, and I get this:

    Fatal error: Call to undefined function wp_get_current_user() in /home6/conserz6/public_html/wp-includes/capabilities.php on line 1039

    My site is now unusable and inaccessible. Thanks a lot.

  2. Matthew Denton
    Member
    Plugin Author

    Posted 2 years ago #

    Hi this seems to be an issue with WordPress per some other posts.

    Fix :

    You open capablities.php and add require_once(‘pluggable.php’);
    (but you need to change those quotes to single quotes) right after the opening <?php tag at the top of the file.

    As described in following Post

  3. Temlakos
    Member
    Posted 2 years ago #

    All right. That works, and I reinstalled WPAA (after having to delete it to allow WordPress to function).

    Memo to WordPress.org: this is a fatal omission in capabilities.php. Somebody needs to fix this and push another upgrade right away.

    This topic is resolved, but the resolution will require a more basic fix.

  4. lilqhgal
    Member
    Posted 2 years ago #

    I had the same error after upgrading from a WP 3.0+ site to 3.1.2 from the automatic updater. Had Ozh's admin plugin installed and it was showing wonky (the 'sidebar' menu area was there but no menu loaded, causing half the screen to dissapear), so I had to delete ozh admin and reinstall it, then got the above error when visiting the Network page. Using the tip above, I now get this error:

    Fatal error: Call to undefined function add_contextual_help() in /home/XYZ/public_html/wp-admin/network/settings.php on line 22

  5. dougman
    Member
    Posted 2 years ago #

    Can someone help me please. This morning I uploaded:
    All In One Video Pack. I then activated it and now I cannot get into the administration area of my blog. I am not a programmer and I don't know code. I have deactivated the plug in, but I cannot delete it because I cannot access the admin. area to do it, unless there is something I don't know. I am not a programmer so please tell mw what to do if you know. I sure would appreciate the help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic