Use a cred post creation form in the secondary language (french) using Ajax
Link to a page where the issue can be seen:
hidden link
I expected to see:
Cred post form submitted succesfully as in the primary language (english)
Instead, I got:
Cred post form is submitted but confirmation message is not displayed and I get a 503 error in the Network console (The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.)
In order to understand the root cause of the error 503 I will need for you to provide the server's php logs.
What you can do is to contact your host in order to see if they can point you in the right direction to access these logs.
Secondly I would recommend temporarily disabling your non-toolset plugins and WPML plugins trying again as this issue could also be caused by a plugin conflict.
I am also a web hosting provided so I easily can the supply the server logs. I get the following error message :
AH01067: Failed to read FastCGI header, referer: hidden link
[Wed Jun 02 14:57:51.650308 2021] [proxy_fcgi:error] [pid 807450:tid 140472743884544] (104)Connection reset by peer: [client 92.137.252.149:0] AH01075: Error dispatching request to : , referer: hidden link
Please note that I don't face this issue on our dev environment. The main difference is the way WPML manages the translation of the customer notification message you will find below.
On the dev environment, it is recorded in the toolset-forms-242511 text domain.
On the prod environment, it is recorded in the cred-form-Enregistrement garantie-242511 text domain.
Your warranty form regarding invoice #[types field='garantie-facture-numero'][/types] has been registered in your customer account [wpv-bloginfo show="url"]/my-account/warranties.
Our technical department will study your request as soon as possible.
We will inform you by e-mail when the state of your request has been modified.
I will need to test this on my localhost to see what happens as well. Usually translation issues are dealt with by the WPML team but I will try to see what is happening here.
Please provide me with admin access to the site as well as a link to the form on the frontend so that I can have a look and perform a test.
You mention that the issue only occurs in a secondary language correct?
The private fields have been enabled for your next response.
I have just deleted the strings recorded in the cred-form-Enregistrement garantie-242511 text domain which contained unappropriate wpml-string context='cred-form-Enregistrement garantie-242511' name='CRED Notification Body a164023c57316cda7bf9b070035969f9'] tags.