502 Error When Verifying
-
Hi,
When a user clicks on the verification link in the email they get sent to a 502 error page.
We tried to find the reason for it and it appears to be with the “Allow Automatic Login After Successful Verification”. If we disable that then it works fine.
Seems like it has something to do with this line of code inside class-xlwuev-woocommerce-confirmation-email-public.php
wp_set_auth_cookie( $user_id );If we comment that out, there is no error. The $user_id seems to be valid. The link (https://domain.com/my-account/?woo_confirmation_verify=<some id>) appears to be fine as well. Any ideas to why that line might cause an issue?
Best,
Jason
The topic ‘502 Error When Verifying’ is closed to new replies.