WordPress.org

Ready to get started?Download WordPress

Forums

Post From Site
Fatal error: Call to undefined function wp_get_current_user() in /home1/mei (3 posts)

  1. pascoa341
    Member
    Posted 3 years ago #

    Fatal error: Call to undefined function wp_get_current_user() in /home1/meincont/public_html/wp-includes/capabilities.php on line 1059

    multisite and buddypress loaded and this is the error I got, bugger as it seems a nifty little plugin!

  2. DougJoseph
    Member
    Posted 3 years ago #

    I got the same error as soon as I tried to turn on MultiSite (aka Network) capability. It ran fine until then, won't run with Network features turned on. Shame too, as it is a nifty plugin.

    As I understand, it stems from the plugin trying to get user info before it is loaded, or some such.

  3. DougJoseph
    Member
    Posted 3 years ago #

    According teamplaylotto:

    http://wordpress.org/support/topic/help-me-erro-fatal-error-call-to-undefined-function-wp_get_current_user-in?replies=6#post-1590935

    ...this can happen if [a plugin is] trying to determine the user level in an mu-plugins/ file. For example, if you try to use is_site_admin() before the pluggable or capabilities file has had a chance to be included.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic