• Resolved yfz450mtk

    (@yfz450mtk)


    I cannot get into any of the items in the network admin drop down. When I click something… this is what I get:

    Fatal error: Call to undefined function wp_get_current_user() in /home/washwo6/public_html/wp-includes/capabilities.php on line 1385

    Will not update… when I click update, same error message.

    I can’t get into plugins, themes… nothing. I can edit pages fine, but I can’t add plugins or anything else so I’m kind of stuck. The last plugin I added before the glitch was Traffic Stats. I recently deleted another site on the network also.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter yfz450mtk

    (@yfz450mtk)

    this line reads as follows:

    function current_user_can( $capability ) {
    $current_user = wp_get_current_user();

    if ( empty( $current_user ) )
    return false;

    I’m also getting this. Were you able to resolve this?

    Thread Starter yfz450mtk

    (@yfz450mtk)

    I was, I had to go into the control panel area of my webspace provider.

    From your file manager: Web Root (public_html/www)
    public_html/wp-content/plugins

    I had to delete the entire folder for the plugin that was causing the issue. For me I had just downloaded a plugin that was untested with the theme I was using… and it jacked up WP. Completely removing that plugin (for you probably the last one you downloaded) should fix it.

    I got the exact same error message, but from a plugin I wrote.

    If someone find the solution, I will take it ??

    If I find the solution, I will post a message here.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp-includes/capabilities.php on line 1385’ is closed to new replies.