• this is the error message I get when I click on the MEDIA LIBRARY in the backend:

    Fatal error: Call to undefined function wp_get_current_user() in /home1/kreuzer/public_html/www.????????????.com/wp-includes/capabilities.php on line 1281

    ps. I changed my website name and replaced it with the question marks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    Have you reviewed this thread and attempted troubleshooting steps recommended therein: http://wordpress.org/support/topic/troubleshooting-wordpress-36-master-list

    Thread Starter kreuzer123

    (@kreuzer123)

    nothing in there about my specific problem.
    I guess I’ll have to try to deactivate my plugins and see what happens.

    Moderator t-p

    (@t-p)

    nothing in there about my specific problem

    As recommended in the thread I posted, have you attempted:

    ■flushing any caching plugins you might be running, as well as server and/or browser caches.
    ■deactivating all plugins (yes, all) to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s). If you can’t get into your admin dashboard, try resetting the plugins folder by FTP or PhpMyAdmin (read “How to deactivate all plugins when you can’t log in to wp-admin” if you need help). Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder. The easiest way is to rename that folder to mu-plugins-old
    ■switching to the Twenty Twelve theme to rule out any theme-specific problems. If you can’t log in to change themes, you can remove the theme folders via FTP so the only one is twentytwelve. That will force your site to use it.
    ■manually upgrading. When all else fails, download a fresh copy of the latest.zip file of 3.6 (top right on this page) to your computer, and use that to copy up. You may need to delete the wp-admin and wp-includes folders on your server. Read the Manual Update directions first.

    I updated to WP 3.6 and was getting the same error:

    Call to undefined function wp_get_current_user()

    More than likely a plugin is attempting to check for permissions before the pluggable.php file has been loaded by core.

    A quick fix that works well is to force load the pluggable.php file at the top of the capabilities.php file like so:

    <?php
    /**
     * WordPress Roles and Capabilities.
     *
     * @package WordPress
     * @subpackage User
     */
    include_once ('pluggable.php');
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot get into Media Library Now with 3.6’ is closed to new replies.