Simple Membership Plugin › Forums › Simple Membership Plugin › Email sent to the user, but not to the admin
- This topic has 3 replies, 3 voices, and was last updated 1 year ago by
admin.
-
AuthorPosts
-
June 19, 2025 at 5:01 pm #30665
gvcorp
ParticipantHello !
I have this specific problem: when a user register I don’t receive the admin email account the notification. But the new user receives the link to validate his account.
So I am sure that I don’t have sending email problem (I use fluentsmtp).
And this is an extract of the log : It says the account already exists (which is false), this is probably the reason the mail for the admin is not sent : it thinks is not a new one, but it really is a new one ! Is there a thing in account verification/validation I missed? (I checked the box admin notification for new account!)[2025/06/19 16:37:48] – SUCCESS: Creating new swpm user. Account status: activation_required, Membership Level ID: 2
[2025/06/19 16:37:49] – FAILURE: swpm_handle_wp_user_registration() – SWPM member account with this username already exists! No new account will be created for this user.
[2025/06/19 16:37:49] – SUCCESS: Completed the profile_update hook handling – SWPM user profile (Member ID: 169) updated with the latest WP user data.
[2025/06/19 16:37:50] – SUCCESS: Member registration complete email sent to: new-account-email@free.fr. From email address value used: email@admin.frThanks a lot if you can help !!
June 20, 2025 at 1:50 am #30666The Assurer
Moderator[2025/06/19 16:37:49] – FAILURE: swpm_handle_wp_user_registration() – SWPM member account with this username already exists! No new account will be created for this user.
Does the email address in question exist as a WordPress User?
June 20, 2025 at 3:31 pm #30670gvcorp
ParticipantI can confirm that the email does not exists because I created a new email account just to test this case.
[2025/06/20 15:22:46] – SUCCESS: Creating new swpm user. Account status: activation_required, Membership Level ID: 2
[2025/06/20 15:22:47] – FAILURE: swpm_handle_wp_user_registration() – SWPM member account with this username already exists! No new account will be created for this user.
[2025/06/20 15:22:47] – SUCCESS: Completed the profile_update hook handling – SWPM user profile (Member ID: 170) updated with the latest WP user data.
[2025/06/20 15:22:48] – SUCCESS: Member registration complete email sent to: test@domain.fr. From email address value used: info@main-domain.frJune 21, 2025 at 3:24 am #30675admin
KeymasterThe error here is for the ‘username’ field (Not the email address). When you see the following in the error message, it means you are trying to use an username already in the system:
username already existsThe username must also be unique. You can use the email address as the username to ensure uniqueness.
Before running a test, follow these steps to avoid conflicts or confusion:
1) Check the WP Users and Members menus to confirm that the username you plan to use is not already taken.
2) Do the same for the email address — make sure it’s not already in use in either the Users or Members menus. -
AuthorPosts
- You must be logged in to reply to this topic.