1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Wordpress Expert: Can no longer logout

Discussion in 'Hire a Freelancer' started by Loadzz, Apr 27, 2015.

Tags:
  1. Loadzz

    Loadzz Regular Member

    Joined:
    Jun 28, 2014
    Messages:
    243
    Likes Received:
    33
    Location:
    United Kingdom
    Hello,

    I?m having an issue with ?=action URLs, I discovered it when trying to log out after updating my theme and Wordpress to the latest version.

    When i click ?logout? the Url changes to this: [website url]/wp-login.php?action=logout&_wpnonce=[logoutcode]

    And comes up with a blank page.

    [website url]/wp-login.php?loggedout=true - no longer works

    When going back to my site to see if i?m logged out, i?m still logged in ? it hasn?t worked.

    Any fixes for this? Or any Wordpress experts i can hire to fix this?


    Thanks!
     
  2. Gogol

    Gogol Jr. VIP Jr. VIP

    Joined:
    Sep 10, 2010
    Messages:
    3,478
    Likes Received:
    3,108
    Gender:
    Male
    In top of your functions.php, after <?php starts, write the following line:

    Code:
    ob_start();
    Let me know if that works.
     
  3. Loadzz

    Loadzz Regular Member

    Joined:
    Jun 28, 2014
    Messages:
    243
    Likes Received:
    33
    Location:
    United Kingdom
    Hello Gogol!

    I figured out it's to do with the theme i'm using - but it never used to do this?

    I tried your method and it's not working :/

    I've contacted the dev's of the theme but no response yet.
     
  4. Gogol

    Gogol Jr. VIP Jr. VIP

    Joined:
    Sep 10, 2010
    Messages:
    3,478
    Likes Received:
    3,108
    Gender:
    Male
    Try switching on the error reporting.
     
  5. qrazy

    qrazy Senior Member

    Joined:
    Mar 19, 2012
    Messages:
    1,115
    Likes Received:
    1,725
    Location:
    Banana Republic
    If you have any cache plugin installed, just disable it and try logging out.
     
  6. American Trends

    American Trends Jr. VIP Jr. VIP

    Joined:
    Mar 14, 2014
    Messages:
    795
    Likes Received:
    120
    Occupation:
    White Hat SEO Company
    Location:
    American Trends
    I was facing the same issue few days back but I used incognito window and disabled and enable all plugins and it worked well for me.
     
    Last edited: Apr 27, 2015
  7. qrazy

    qrazy Senior Member

    Joined:
    Mar 19, 2012
    Messages:
    1,115
    Likes Received:
    1,725
    Location:
    Banana Republic
    Another common problem is the white spaces/extra lines after the "?>" in files like function.php, header and footer. You could try removing them.
     
  8. Loadzz

    Loadzz Regular Member

    Joined:
    Jun 28, 2014
    Messages:
    243
    Likes Received:
    33
    Location:
    United Kingdom
    Hello qrazy, i've tried this and the problem is still there :/

    Thanks for the feedback though :)
     
  9. Loadzz

    Loadzz Regular Member

    Joined:
    Jun 28, 2014
    Messages:
    243
    Likes Received:
    33
    Location:
    United Kingdom
    Will try this now, thanks for the feedback [​IMG]
     
  10. Loadzz

    Loadzz Regular Member

    Joined:
    Jun 28, 2014
    Messages:
    243
    Likes Received:
    33
    Location:
    United Kingdom
    Will check this out now, thank you :)
     
  11. designcock

    designcock Junior Member

    Joined:
    Jul 30, 2014
    Messages:
    191
    Likes Received:
    15
    PM me if you r still looking for help
     
  12. Nauman K

    Nauman K Regular Member Premium Member

    Joined:
    Oct 9, 2012
    Messages:
    245
    Likes Received:
    12
    Occupation:
    CEO at Nausal Technologies (www.nausal.com)
    Location:
    Dream Land
    Home Page:
    Hi,

    Pm me with the detail if you are still stuck in it.

    Thanks