I'm experiencing an issue with forms created in Bricks Builder on pages translated with WPML. The forms work perfectly on the original language pages and emails are delivered correctly, but on translated versions the forms don't function properly - the main problem is that form submissions are not being sent and emails don't arrive at the specified email address, even though there is the message "The form has been sent". When I tested this by creating a page with just a form and translating it through WPML, the translated version either displays a 404 error or redirects to the homepage.
I've downloaded a copy of your website, to check for conflicts and solutions locally, but I'm not having any of the issues in my local copy - no 404s, and forms working in all languages. This indicates that there's some conflict or error with your specific server.
To be able to further troubleshoot this issue without harming your live website, I need you to please create a staging (testing) version of it, preferably in the same server. You can use a plugin like WP Staging to do so.
You can keep the same user there, so it's not necessary to share credentials again. I know this takes some effort, so thanks in advance for your cooperation on this matter.
Hi,
The staging site is: hidden link
On this staging site, the form can be translated and displays correctly on the translated pages. However, the problem with email sending still persists - the form shows the "email sent" confirmation message, but the email is not actually being sent. This issue only occurs on translated pages (the form works correctly on the original language version).
It's worth noting that I've updated the staging site to the current production backup, and the 404 error is no longer appearing. Previously, when using a backup from a week ago, the same 404 error was occurring as on the production site.
Thank you and regards
Thank you for sharing. On the staging website, I've changed the destination email to mine, on the test-form page, and received emails normally. So the issue is not happening there. At least after switching the email to mine.
Upon re-checking the production website, I've noticed the message on WPML > Support:
Alias domains to <em><u>hidden link</u></em> domain:
<em><u>hidden link</u></em>
This seems to be a likely cause of the issue in production. This configuration may interfere with some WPML functionality, including email delivery from translated forms. For best results, we recommend using a single, primary domain without aliasing.
Please check with your hosting provider or developer to ensure that your site is using a standard domain configuration, without domain aliases or redirections between multiple domains.
In production, the translated page is back to showing the 404, what happens only there.
After that, instead of having the admin email automatically setup on Bricks actions, change it to "Custom email" and insert the email there. Check the image. Finally, re-save the translations.
Hi,
Thank you for your help! I've resolved the issue by updating the GUIDs in the database. During the site migration from the development domain bws.bws-windows.com to the production domain bws-windows.com, the GUID fields weren't updated properly. When WPML detected the domain change, it showed a migration notice and I set bws-windows.com as the primary domain. After cleaning up the database and updating the GUIDs, the forms are now working correctly and emails are being sent without any issues.
However, I'm still seeing a message in WPML Troubleshooting that says "Alias domains to hidden link domain: * hidden link" - which seems to indicate that bws-windows.com is listed as an alias of itself. Everything appears to be functioning properly now, but I wanted to check if this troubleshooting message is expected or if there's something else I should fix to completely resolve this domain alias configuration.
Greetings
I'm glad you were able to find a solution. In short, the message itself is not an issue. If you updated the GUIDs, and the forms are working properly, you can ignore the message.
I can leave this ticket open for a few more days. In case you have any issues with the forms, let me know.