WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] another can't log out

[Resolved] another can't log out

Viewing 9 replies - 1 through 9 (of 9 total)
  • Tara
    Participant

    @t-p

    you may try:

    -deactivating ALL plugins temporarily to narrow down and possibly fix the problem. If the problem goes away, activate them individually to find the culprit.

    -switching to the default theme (“twentyten”) for a moment by renaming your current theme’s folder in wp-content/themes. The idea is to force WordPress to fall back to the default theme to rule out any theme-specific issue.

    I have disabled all plugins and switched to the default theme but I still have the same problem

    ok I have reinstalled the latest version 3.0.4 of WP and I am still experiencing the same problem and have limited it to the wp_nonce. I tried removing this line $logout_url = wp_nonce_url( $logout_url, 'log-out' ); from general-template.php and find that it directs me to a page saying you are attempting to logout do you really want to logout? with logout being a link, but clicking on logout does nothing but refresh the page. Please help

    After hours of trial and error I have finally come up with a solution, I had to change in general-template.php starting on line 209

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I still have to go through the “are you sure you want to log out?” page but after clicking on log out I am finally logged out of WP. There still seems to be an issue with getting a 101 error every once in a while but I have not found a better way to log out of my WP site yet if anybody has a better solution please post it thank you.

    esmi
    Forum Moderator

    @esmi

    Do not edit core files unless you really, really, know what you’re doing. If you are not careful, you could be compromising the security of your site.

    well after searching for answers and coming up with nothing I had to do something, I still have the original files in tact, if you have a better solution I am all ears as for now I am sticking with my solution until I can get a better answer or come up with a better solution myself

    chouxpastry2002
    Member

    @chouxpastry2002

    hello i am also facing same problem. I am having “branded buddypress login” in my website. If i disable this plugin site works smoothly. But i want to retain this plugin.

    Please tell me what to do?

    Sam.

    the daily orbit
    Member

    @the-daily-orbit

    Has anyone found a solution to this problem? It looks like someone posted a hack to core earlier in the thread but someone moderated it out. Wtf why would someone moderate out a fix to a problem that needs to be fixed?

    I just ran into this problem with a custom theme, and this answer seems very likely:

    http://www.primothemes.com/forums/viewtopic.php?f=4&t=165

    I have a wpmudev subscription, and the solution there pretty much confirmed it’s a nonce issue – per the support ticket I found, “The behavior happens when the nonce part of the url is not added or is expired.”

    I’m off to fix the logout link on the custom theme and see if it works.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] another can't log out’ is closed to new replies.