Posted: July 25, 2024 at 12:43 pm
When attempting to submit a new registration for ANY event, all required form fields are filled in correctly, but submitting shows the red popup error with “An error has occurred” and then lists all required fields with “This field is required.” and repeats twice. I’ve added the recommended cache exclusions and cleared server and browser caches with no luck. |
|
Hi Jonathan, I cannot see any such errors on my end. Can you please perform a troubleshooting test to see if there is any conflict |
|
I cannot explain it, but the conflict was the plugin “Email Encoder – Protect Email Addresses” (https://wordpress.org/plugins/email-encoder-bundle/). Disabling that alone fixes the EE checkout process. Can you make it make sense as they don’t seem to be related at all? |
|
Hi there, They are related in that “Email Encoder – Protect Email Addresses” parses every ‘input’ element on the site and that will include EE’s. However, I’ve just installed that plugin on one of my test sites and can still register fine. What options do you have enabled within Email Encoder? |
|
Interesting. I was using their “simple HTML character encoding.” as the other options were giving text display issues on the front end. Changing it to their other options does seem to make the EE forms work again, even with this plugin enabled. |
|
Oddly enough I still don’t have issues with EE registrations even when using that option. Very strange. But yeah it seems that plugin is doing some additional processing on every element, I’m not sure why its then conflicting on your site and not mine though, that’s…. odd! |
|
This may have been a false positive for the email encoder plugin. I did end up disabling it but still had the issue pop up later. I ended up disabling every plugin except Elementor and Events Espresso core and still was having the issues. I’m now looking at Elementor’s newest Element Caching setting as the primary culprit instead. Disabling that seems to be working at preventing these errors now and checkout is smooth again. |
|
Are you using reCaptcha? Event Espresso -> Registration Form -> Reg Form Settings -> reCAPTCHA Anti-spam Settings. Is that enabled? Any other plugins that might also be adding reCaptcha? |
|
No. Use reCAPTCHA is set to “No” in EE settings. No other reCAPTCHA plugin is enabled. Pretty sure it was the Element Caching enabled site-wide in Elementor. They explicitly state not to use it for shortcode elements like EE uses, which makes sense: https://elementor.com/help/element-caching-help/ |
|
Ah, ok. Thanks for the info, I’ll keep an eye on this! Any further issues just let us know. |
|
You must be logged in to reply to this support post. Sign In or Register for an Account