Pro-Forms stopped working for new users. [Fixed]

Hi

I have a working site.

I have a pro-form created to buy a capability for free. It’s very usefull to let me manage registration to free events.

Sudenly, It has stopped working.

I do not know what is different now, but it does not work for new users. It still works por registered users.

You can check it here: coachingrealista.com/sss

I have created two pro-forms. One using Paypal and other using Stripe. None of them work if the user is not registered.

Until today, the system allowed users to create the user at the same time, but when the try to do it now, nothing happens. It just reload the page.

You are welcome to test it in coachingrealista.com/sss

I’ll thank any idea

Thank you.

EDIT: I have deactivated all the plugins except “s2member” and it does not work

I have activated the log and this is what appears after try to buy the capability:

LOG ENTRY: Fri May 11th, 2018 @ precisely 10:07 pm UTC
PHP v7.0.30 :: WordPress v4.9.5 :: s2Member v170722 :: s2Member Pro v170722
Memory 46.73 MB :: Real Memory 48.00 MB :: Peak Memory 46.77 MB :: Real Peak Memory 48.00 MB


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
Array
(
[state] => response
[transport_class] => Requests
[args] => Array
(
[method] => POST
[timeout] => 0.01
[redirection] => 5
[httpversion] => 1.0
[user-agent] => WordPress/4.9.5; https://coachingrealista.com
[reject_unsafe_urls] =>
[blocking] =>
[headers] => Array
(
)

        [cookies] => Array
            (
            )

        [body] => 
        [compress] => 
        [decompress] => 1
        [sslverify] => 
        [sslcertificates] => /home/carlosm1/coachingrealista.com/wp-includes/certificates/ca-bundle.crt
        [stream] => 
        [filename] => 
        [limit_response_size] => 
        [_redirection] => 5
    )

[url] => https://coachingrealista.com/wp-cron.php?doing_wp_cron=1xxxxx5.5xxxxxxx<manynumbers>0
[response] => Array
    (
        [headers] => Requests_Utility_CaseInsensitiveDictionary Object
            (
                [data:protected] => Array
                    (
                    )

            )

        [body] => 
        [response] => Array
            (
                [code] => 
                [message] => 
            )

        [cookies] => Array
            (
            )

        [filename] => 
        [http_response] => WP_HTTP_Requests_Response Object
            (
                [response:protected] => Requests_Response Object
                    (
                        [body] => 
                        [raw] => 
                        [headers] => Requests_Response_Headers Object
                            (
                                [data:protected] => Array
                                    (
                                    )

                            )

                        [status_code] => 
                        [protocol_version] => 
                        [success] => 
                        [redirects] => 0
                        [url] => 
                        [history] => Array
                            (
                            )

                        [cookies] => Requests_Cookie_Jar Object
                            (
                                [cookies:protected] => Array
                                    (
                                    )

                            )

                    )

                [filename:protected] => 
                [data] => 
                [headers] => 
                [status] => 
            )

    )

)

What happened yesterday at your site? Some updates of plugins or themes? Some coding jobs? Problems with cron or cUrl? The s2M was not updates, so it should works like it works before, so something else was changed. Find it and you will fix the problem.

I can’t remember any special event.

Justo I got a message from hoster because there was too many procceses opened. But this message is no appearing now.

Maybe hosting did some changes in server settings?

It’s always a possibility. I don’t know what kind of change could generate this issue.

People lease able to create new users but not just when they are purchasing a capability.

OK, try to re-generate your .htaccess file (if any), go and save your permalinks.

Also could be a cache or antivirus at your site or at hosting, at server level.

First, on the /sss/ page to which you refer, you have put two s2Member forms. That won’t work. You can only have one form on a page. So if that’s what you have done with your live forms, that’s the problem right there.

Second, you should not be relying on memory to answer a question about what has changed on your site. You need to install logging plugins like Simple History and Email Log.

I have many pages with 2 forms. It works if they are different pay methods.

Anyway, the wrong behabior was detected in a page with only one form.

/sss/ Now has one form and still fails.

I only can rely memory if I hadn’t a logging system installed before the issue.

FIXED

The form had Level="*" and it requires to be an registered user before make the purchase. In this case, the form does not allow to create an user, it’s mandatory to be a registered and logged user.

Thanks to everyone for your help

Great to hear!

Just a FYI for you and everyone else reading this, though: there is a major problem with using two forms on one page, even if they use different payment processors. This is because every form that s2Member generates has the same ID, so what you will end up with are two identical IDs on the same page.

This is not valid HTML, and so will almost always cause one or both forms not to work because s2Member will not know what it should be processing and sending to the payment processor. If the two forms are identical in every way except payment processor, then you might get lucky, but otherwise you will have problems.

1 Like

Thank you for your information

All the payment pages in my website have the same structure.

All of them have paypal and stripe forms. I received an error mortification when I put two forms of the same payment method. But if I use only one form by payment method, it works fine.

Anyway. I will check it.

Thank you