Forever redirecting (302)
-
I have this form:
/membership-login/membership-profile/
which, when submitted, will forever be redirecting the user to the site root.I have bought and installed the WooCommerce addon.
When submitting, I noticed a specific cookie is created, something like:
simple_wp_membership_sec_00f9f976eb8b32a8fe0b74df00761234
with a value something like:
info%40remark.no%7C1621687924%7C08022cd2c13a0f1d30b076b9ec347574Ss soon as I remove that cookie, the redirecting stops.
The log shows the following (I suppose 13:08:44 is when I removed the cookie on the client side):
<snip> [2021/05/19 13:06:18] - SUCCESS: validate() - Bad Hash [2021/05/19 13:06:18] - SUCCESS: validate() - Bad Hash [2021/05/19 13:06:19] - SUCCESS: validate() - Bad Hash [2021/05/19 13:06:20] - SUCCESS: validate() - Bad Hash [2021/05/19 13:06:21] - SUCCESS: validate() - Bad Hash [2021/05/19 13:06:22] - SUCCESS: validate() - Bad Hash [2021/05/19 13:06:23] - SUCCESS: validate() - Bad Hash [2021/05/19 13:06:24] - SUCCESS: validate() - Bad Hash [2021/05/19 13:08:44] - SUCCESS: Authentication request using email address: [email protected], Found a user record with username: [email protected] [2021/05/19 13:08:44] - SUCCESS: Authentication request - Username: [email protected] [2021/05/19 13:08:52] - SUCCESS: Authentication request using email address: [email protected], Found a user record with username: [email protected] [2021/05/19 13:08:52] - SUCCESS: Authentication request - Username: [email protected] [2021/05/19 13:09:02] - SUCCESS: Authentication request using email address: [email protected], Found a user record with username: [email protected] [2021/05/19 13:09:02] - SUCCESS: Authentication request - Username: [email protected] [2021/05/19 13:09:08] - SUCCESS: Authentication request using email address: [email protected], Found a user record with username: [email protected] [2021/05/19 13:09:08] - SUCCESS: Authentication request - Username: [email protected] [2021/05/19 13:09:12] - SUCCESS: Authentication request - Username: [email protected] [2021/05/19 13:09:19] - SUCCESS: Authentication request - Username: [email protected] [2021/05/19 13:09:24] - SUCCESS: Authentication request - Username: [email protected] [2021/05/19 13:09:29] - SUCCESS: Authentication request - Username: [email protected] [2021/05/19 13:10:17] - SUCCESS: Authentication request using email address: [email protected], Found a user record with username: [email protected] [2021/05/19 13:10:17] - SUCCESS: Authentication request - Username: [email protected] [2021/05/19 13:10:17] - SUCCESS: Authentication successful for username: [email protected]. Executing swpm_login action hook. [2021/05/19 13:10:17] - SUCCESS: Trying wp_signon() with username: [email protected] [2021/05/19 13:10:17] - SUCCESS: wp_authenticate action. User with username: [email protected] is already logged in. [2021/05/19 13:10:17] - SUCCESS: Woocommerce integration - set_logged_in_cookie action triggered. User ID: 14 [2021/05/19 13:10:17] - SUCCESS: wp_login hook triggered. Username: [email protected] [2021/05/19 13:10:17] - SUCCESS: Setting current WP user to: [email protected] [2021/05/19 13:10:17] - SUCCESS: Triggering swpm_after_login hook. [2021/05/19 13:10:43] - SUCCESS: Woocommerce integration - set_logged_in_cookie action triggered. User ID: 14 <snip>Obviously, I’d like that forever-redirection to stop 😉
Is this because of the set_logged_in_cookie trigger in the Woo integration?The page I need help with: [log in to see the link]
The topic ‘Forever redirecting (302)’ is closed to new replies.