Title: Plugin Breaks Login
Last modified: August 22, 2016

---

# Plugin Breaks Login

 *  [ktuimala](https://wordpress.org/support/users/ktuimala/)
 * (@ktuimala)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-login/)
 * After installing WooCommerce Betaout, I get the following output on a blank page
   after attempting to login to WordPress through either the WooCommerce login, 
   or wp-admin. As soon as I disable the Betaout plugin, I can login normally. If
   I clear all browser cookies, I can login normally for a time, but after a while
   this issue comes right back. However, sometimes clearing the cookies doesn’t 
   help. It isn’t immediately clear how to bypass this issue without disabling the
   plugin.
 * Array ( [amplifyUserId] => 55616225 [responseCode] => 200 [userId] => 55616225[
   amplifySession] => 4V0ZqPCw1kovStDBGFSNjUWxnmiR0v9m43u7KwUhRAtt77348NvlVV4nZeA6STmjs37bNj1WlFJ9RpWcAQ0zd1gafU4oP6waQY_qlt-
   SDCuJz6di6k4mSQnLyC8STJQKEPjkfBzZ04pSLZ3ubxMzTNw0kLoOurQ0 [userKnown] => Y [errorCode]
   => 200 [appType] => [lifecycleId] => 3124 )
 * [https://wordpress.org/plugins/woocommerce-betaout/](https://wordpress.org/plugins/woocommerce-betaout/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [ktuimala](https://wordpress.org/support/users/ktuimala/)
 * (@ktuimala)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-login/#post-5905789)
 * I found the problem. Please fix it officially.
 * In woocommerce-betaout/includes/amplify.php, in the identify function, you have
   a print_r statement that is outputting the response before the headers are sent
   causing issues with page rerouting during WP login. Obviously this is left over
   from debugging, but commenting the print_r statement causes WP login to work 
   as expected.
 *  Thread Starter [ktuimala](https://wordpress.org/support/users/ktuimala/)
 * (@ktuimala)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-login/#post-5905999)
 * Also, a couple of lines below the print_r I had to comment out, I found an echo
   statement that causes grief when a cookie is not set. This echo statement also
   has to be commented out.
 * woocommerce-betaout/includes/amplify.php line 652

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin Breaks Login’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-betaout_eef0e5.svg)
 * [Woocommerce Betaout](https://wordpress.org/plugins/woocommerce-betaout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-betaout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-betaout/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-betaout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-betaout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-betaout/reviews/)

## Tags

 * [login](https://wordpress.org/support/topic-tag/login/)

 * 2 replies
 * 1 participant
 * Last reply from: [ktuimala](https://wordpress.org/support/users/ktuimala/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-login/#post-5905999)
 * Status: not resolved