Problem with Open Registration and "new users registration not allowed"

Hi,
I have 2 problems, and I don’t know if they are connected.

A client who just purchased a product via paypal button, told me that once she paid, she had a form, but when validating, she had a message “New users registration currently not allowed”. But she could register and received the link.

I never had this problem before today, yesterday people could succesfully register without having this message, and nothing has changed between yesterday and today (no new plugins or else).

I went to check the “Open registration” tab and it was still set to “no”.

So, just to see, I checked what was happening on the “wp-login.php?action=register” page and surprise : mywebsite.com/wp-login.php?action=register is open ! And I could subscribe as a free member ! (I absolutely don’t want this).

Also, I have to mention I can’t use Paypal pro form, since Paypal Pro isn’t available in France.

Can you help me ? Thank you !

Hi @contentologue - sounds like something has changed…software will be consistent if nothing changes. Did your hoster update your php version or update your WordPress version to 5.4 or did you update any plugins in your site?

Regarding your registration being open, it sounds like you went to the registration page and saw the form. Did you try to fill in the form and press the registration button. Registration protection does not eliminate the form it just checks once someone presses the button to decide if it lets them in or not.

Hi !

Thank you for your answer. No, php version is still the same, I didn’t update nothing between this two days.

Yes, as I said, I could sucessfully register with a test email as a free member ! How can this be possible ?

But now you say that they can see the form but when they click the button “it let them or not”, it makes me think that the first problem is related, cause it’s exactly what happened for my customer, she could see the form after paying, but when hitting the button, she had a message “not allowed” (but has still been registered and successfully received the signup confirmation email).

So here’s how it works.

Registration is a WordPress feature. S2member registration is just an extension of the normal WordPress user registration.

WordPress registration is either open (self-registration supported) or closed (manual user registration only). There is no in-between.

S2Member configuration allows you to control the content someone sees AFTER they have registered. S2Member does not support selective registration. So, for example, you can configure S2member to show only the Members page and nothing else.

With that in mind…how does your site currently behave and how is it that you would like it to behave. Keeping in mind you can’t stop registration from happening if you enable WordPress self-registration.

Hi,

Thank you for your reply.

I did not enable self registration (if you’re talking about general settings, I didn’t click on “everyone can register”. Also, this box is not checkable (neither the “default role” box), since s2member forbid it. It says at the top of the settings :

* Note: The s2Member plugin has control over two options on this page.
Anyone Can Register = 0 , and New User Default Role = subscriber .
For further details, see: s2Member → General Options → Open Registration .

Also, it’s kind of logic that my client has seen “new users are not allowed” after hitting this button (why did she has been directed to this page stays a mystery), since it’s not allowed. Only paying members can (well, I would like it to be this way…)

I have just scanned the source code for the phrase “not allowed” and there are no occurrences. Is it possible that someone who has worked on your website in the past might have added some custom code for this restriction?

If you can provide a screenshot of the list of plugins your have installed it might be a different plugin triggering this message. If you have a techie who maintains your site you can ask your techie to scan your wp-content directory for that phrase and it would show you which plugin is the source. I do not believe this is coming from WordPress or S2Member.

Thank you !

The wordpress where I use S2Member is installed in a subfolder :

https://www.contentologue.com/formation-blog-professionnel/

Also , it’s in french, and my client didn’t show me any screen capture, so I don’t really know the term, maybe “ne sont pas autorisés”, but not sure.

A screenshot is not possible, since I have like 53 plugins…

I don’t have techie, but I can scan wp-content, though I’m quite sure she had the default wordpress message saying that “new users are not allowed”, when hitting register button.

“ne sont pas autorisés

translates to “You are not authorised”

I have never seen a “new users are not allowed” message.

S2member is not a membership plugin. There is no logic in it that I am aware that would limit registration.

Have a look in your built-in theme functions or your list of 53 plugins for any that are membership-related.

Actually…give me a link to where a register button exists and I can probably tell you. NOTE: I could not find a page with a register button and I speak french.

Ok, well I will go on in english, so if anyone has the same problem can read. :slight_smile:

contentologue.com/formation-blog-professionnel/ with /wp-login.php?action=register BUT now it says “Les nouvelles inscriptions ne sont pas autorisées pour l’instant.” (It’s apparently translated from “user registration is currently not allowed” default wordpress settings.)

I have no clue why it’s not possible to register now, yesterday it was possible, and I didn’t touch anything (I decided not to update anything till this problem is solved)

I don’t have any client reporting a problem now, so I guess the problem is over for now (why, I don’t know, maybe my hosting service…).

Thank you anyway for your time !

[Edit : In fact, I did something : I desactivated S2member and reactivated it]

You can check the unique IP address restrictions settings.

It’s set to “Allow infinite IPs”