Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. Hopefully, this will force the default theme to activate and rule out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter Christine B.

    (@christine1974)

    Thanks. I will try that and keep you posted

    If you have a code base access you can login with this code

    $username = ‘test’; //replace with your username
    $user = get_user_by(‘login’, $username);

    if ($user) {
    wp_clear_auth_cookie();
    wp_set_current_user($user->ID);
    wp_set_auth_cookie($user->ID);
    wp_redirect(home_url());
    exit;
    }

    add this code in fuctions.php and refresh the page then you are automatically logged in.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.