• Attempting to logout from the admin bar or the widget will not work.

    Once I deactivate the plugin, it works fine.

    With the plugin Disabled and logout working:
    /wp-login.php?action=logout&_wpnonce=236759f5e8

    With the plugin Enabled and the logout not working:
    /wp-logout.php?_wpnonce=236759f5e8

    I’m unsure where to change the code. Any help would be appreciated.

    http://wordpress.org/extend/plugins/theme-my-login/

Viewing 4 replies - 16 through 19 (of 19 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    Since I can’t reproduce the issue on my own installations, it’s hard for me to solve any problems. I’d need access to some of your sites where this is happening.

    My issue is resolved, and probably not the same one as the others posting here. In my case we had a varnish proxy installation that was stripping cookies without our knowledge.

    Thanks!

    The problems I described above were found to be due to a conflict with the wp-pagenavi 2.83 plugin. I had selectively disabled all other plugins during initial troubleshooting, but had forgotten about the following function that had been added to the child theme functions.php file to support wp-pagenavi:

    function twentyeleven_content_nav( $nav_id ) {
    	global $wp_query;
    	if ( $wp_query->max_num_pages > 1 ) : ?>
    		<nav id="<?php echo $nav_id; ?>">
    			<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
          <?php wp_pagenavi(); ?>
    		</nav><!-- #nav-above -->
    	<?php endif;
    }

    Deactivating wp-pagenavi and removing that function corrected the problems. TML 6.3.8 now functions as advertized.

    Excellent. This post above solved my issue. I was running a fresh install of WP 3.5.2, with a fresh download of TML 6.3.8, no other plugins and using Twenty Twelve. I *could not* – for the life of me – log out for any reason. No errors in the log files – just couldn’t log out at all. Followed those instructions above, and now it works fine.

    Mine was localhost (so I can’t give access) but I’ll see if I can replicate the issue on a live site and give you access, Jeff. But in the meantime – that worked a treat!

Viewing 4 replies - 16 through 19 (of 19 total)

The topic ‘Logout Won't Work’ is closed to new replies.