WordPress.org

Forums

Customizr
[resolved] I cannot log out of WordPress Admin Dashboard (17 posts)

  1. jrothra
    Member
    Posted 10 months ago #

    When the child theme is active I cannot log out of the WP Dashbaord. I click "Log Out" under my profile name at the top right and I only get the following URL with a white screen: http://www.johnrothra.com/blog/wp-login.php?action=logout&_wpnonce=2e3c8492ed

    I tried deactivating ALL plugins, and the problem continued, thus it's not a plugin. I tried switching to the Twenty Fourteen theme and I was able to log out fine. But with the Customizr child theme I cannot log out. I tried activating the Customizr parent (main) theme, and the problem continued. Thus is it a problem with Customizr, not the plugins or on the server (I can log out fine with any theme except Customizr). I need this addressed asap.

  2. jrothra
    Member
    Posted 10 months ago #

    BTW, currently my site is using the twenty-fourteen theme because I need my host to be able to log in and out freely. To do this I have to use another (and undesired) theme. We're trying something to try to fix this issue: http://wordpress.org/support/topic/theme-active-but-somehow-unactivates-itself-leaving-white-screen

  3. njclonch
    Member
    Posted 10 months ago #

    I clicked on the link in your first post and logged you out. Sure there's nothing wrong on your end?

  4. jrothra
    Member
    Posted 10 months ago #

    njclonch - As I said, this only happens with Customizr is active, which it is not at this time. Right now Twenty Fourteen is (see second post above).

    My host (located in another state on a completely different IP) could not log in or out with Customizr active. I tried on different computers and had the same problem. So it's not on my personal end. Besides, this problem only occurs when Customizr is active. I've tested plugins and other themes. The only time it happens is when Customizr is active, and it's a problem from multiple locations and from multiple computers.

  5. njclonch
    Member
    Posted 10 months ago #

    I was running into a list of error messages when I tried logging out. Apparently, you can just delete the whitespace at the end of the class-footer-footer_main.php & class-header-nav_walker.php. It cleared the problem up for me.

  6. jrothra
    Member
    Posted 10 months ago #

    njclonch - what white space? How would I do this without impacting the parent theme (and thus have the fix undone by future updates)?

  7. ElectricFeet
    Member
    Posted 10 months ago #

    Taking a Bayesian approach, we have to suspect the child code first (because only your run this and so far only you have this problem). Once we exclude that, we need to exclude modifications to the Customizr core; either through a file replacement or a hack (because thousands of people run Customizr with no problem). Then we need to exclude modifications to the WP core; either through a file replacement or a hack (because gazillions of people run WP with no problem).

    So, back to the child theme: could you do some more tests to eliminate your child code?

    You say that when you switch to the Customizr parent that the problem continued. I presume that you switched to the parent when you were already logged in (you had to be logged on to switch theme) and then couldn't log out. It could still be the child theme at this point—if there's something in your child that fires at login, then this would happen.

    To eliminate this possibility, could you:

    - switch to twentyfourteen
    - logout
    - login
    - switch to Customizr parent
    - try logging out.

  8. sternhagel
    Member
    Posted 10 months ago #

    As njclonch already pointed out, the blank lines at the end of the files class-footer-footer_main.php and class-header-nav_walker.php (in /wp-content/themes/customizr/inc/parts/ seem to be responsible for this error.

    I just encountered the same problem after updating Customizr to version 3.1.18, and deleting all the blank lines at the end of these two files fixed it for me.

    See also this thread: http://wordpress.org/support/topic/updating-to-3118-broken-website

    If you don't want to change any parent theme files, you can fix it by copying these two files into the same subfolder in your child theme and deleting the blank lines there.

  9. ElectricFeet
    Member
    Posted 10 months ago #

    Taking a Bayesian approach, we have to suspect the child code first (because only your run this and so far only you have this problem)

    Yup. This was wrong. Apologies; I hadn't seen that others are having problems too. Thanks sternhagel.

  10. nikeo
    Member
    Theme Author

    Posted 10 months ago #

    New version 3.1.19 is bug free.

  11. jrothra
    Member
    Posted 10 months ago #

    To eliminate this possibility, could you:

    - switch to twentyfourteen
    - logout
    - login
    - switch to Customizr parent
    - try logging out.

    I already did all this (see earlier posts).

    I hadn't seen that others are having problems too. Thanks sternhagel.

    No problem. Only God is omniscient. :)

    New version 3.1.19 is bug free.

    I'll download the update. :)

  12. nikeo
    Member
    Theme Author

    Posted 10 months ago #

    @jrothra : any update on the issue with the new version of the theme?
    Thanks in advance for your feedback

  13. jrothra
    Member
    Posted 10 months ago #

    Not yet. I had to leave for meetings and just got back. My host is doing some work with the site and asked I refrain from updates until he's done. Once I can update (later today) I'll post the results.

  14. jrothra
    Member
    Posted 10 months ago #

    I activated the Customizr child theme and tried logging out -- it worked perfectly. :)

  15. nikeo
    Member
    Theme Author

    Posted 10 months ago #

    I love to read that! Thanks for the update!

  16. alohunk
    Member
    Posted 10 months ago #

    I have the same problem of not able to logout. Where do i activate the child theme?

  17. esmi
    Forum Moderator
    Posted 10 months ago #

    @alohunk: If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else's topic.

Reply

You must log in to post.

About this Theme

About this Topic