Hi Jeff,
Thanks for your reply. I have checked the debug.log, but can’t see anything that could be JSON related:
[16-Apr-2020 19:19:33 UTC] PHP Notice: Undefined index: alnuar_new_user_email_text_change in /home/customer/www/sasopreponline.com/public_html/wp-content/plugins/auto-login-new-user-after-registration/auto-login-new-user-after-registration.php on line 85
[16-Apr-2020 19:19:33 UTC] PHP Notice: Undefined index: password1 in /home/customer/www/sasopreponline.com/public_html/wp-content/plugins/auto-login-new-user-after-registration/auto-login-new-user-after-registration.php on line 89
[16-Apr-2020 19:19:33 UTC] PHP Notice: Undefined index: redirect_to in /home/customer/www/sasopreponline.com/public_html/wp-content/plugins/auto-login-new-user-after-registration/auto-login-new-user-after-registration.php on line 100
[16-Apr-2020 19:19:34 UTC] PHP Deprecated: login_headertitle is <strong>deprecated</strong> since version 5.2.0! Use login_headertext instead. Usage of the title attribute on the login logo is not recommended for accessibility reasons. Use the link text instead. in /home/customer/www/sasopreponline.com/public_html/wp-includes/functions.php on line 5088
My plugin only does things on the registration page when you CREATE a new account. If this is about somebody signing in to an existing account, it would not have anything to do with my plugin.
This is obviously not sign-in related – the problem occurs when a user, who doesn’t have a WooCommerce/WordPress account created yet, intends to check out, using the default WooCommerce checkout page.
In such cases, when guest purchase is disabled, the user needs to fill a username and password field before submitting the checkout form – this is where the system creates/registers the new account.
I have continued testing and it came out that the problem only occurs if your plugin is active **AND** the “Check to ENABLE auto-login for new user after registration” checkbox is checked.
It doesn’t matter if the redirect URL field has a value or not – enabling this feature automatically breaks WooCommerce’s account registration on checkout process.
I understand that the plugin is for the default WordPress registration page only – but in this case it would be great to inform your potential users that the plugin breaks important WooCommerce functionality.