Support » Theme: Customizr » I cannot log out of WordPress Admin Dashboard

  • Resolved jrothra

    (@jrothra)


    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.

Viewing 15 replies - 1 through 15 (of 16 total)
  • 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

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

    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.

    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.

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

    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.

    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.

    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.

    New version 3.1.19 is bug free.

    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. 🙂

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

    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.

    I activated the Customizr child theme and tried logging out — it worked perfectly. 🙂

    I love to read that! Thanks for the update!

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

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘I cannot log out of WordPress Admin Dashboard’ is closed to new replies.