• Hi

    I got below error please check “wp_get_current_user”

    Call to undefined method WP_Error::exists() in /public_html/wp-includes/capabilities.php on line 679

    Thanks
    Kunjan gohel

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter LogicRays Technologies

    (@logicrays)

    Hi,

    I find the solution

    $user = wp_signon( $creds, false );
    //do_action(‘wp_login’, $user->user_login, $user);

    Just comment the doaction as i done. That is the problem causing. Thanks to another plugin’s code which helped me.

    file:wp-content/plugins/users-ultra/xooclasses/xoo.userultra.login.php

    Line: 278 or make a search with find option

    Thanks
    Kunjan gohel

    Plugin Contributor Plugins Area

    (@usersultra)

    @logicrays,

    Thank you very much for your post.

    We will investigate the issue. Is it happening with a particular plugin or theme?

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Call to undefined method WP_Error::exists()’ is closed to new replies.