Posted: January 14, 2016 at 1:48 pm
|
I am using EE4 and I’ve had multiple complaints that there are errors when trying to register multiple people. Once while purchasing two different types of tickets for the same event, e.g. one early bird and one guest ticket. This resulted in an error saying an invalid registration was received. A valid primary registration for the transaction could not be found. The other was when trying to purchase six of the same ticket type. This asked them to proceed to payment, but when they did it gave an error saying they didn’t register for any events? I’m using EE4 with PayPal Pro. |
Hi Valorie, Could you share a link to the events page please? Also, who is your hosting provider? I’d like to check to see if there are any errors. If there are not, then this could be also caused by caching running on the registration checkout pages. Thanks! — |
|
|
Hi Lorenzo, Thanks for the quick response! Here is the link: https://salonspanetwork.org/annual-conference/ I am hosting with WPEngine, but had them disable caching on all pages running Event Espresso, including the one with shortcodes. Hopefully they did this completely…? Thanks! Valorie |
Can you put in a ticket with WPEngine support and ask them to doublecheck? |
|
|
Hi there – I’ve confirmed all of the caching is off and also had them read the entire blog post regarding WPEngine and the confirmed all settings. I got another issue today saying no primary registrant could be found. Any other troubleshooting? |
Can you ask them about how long it took between the time they started the registration to when they tried to finalize the registration? The reason I ask is because there’s a time limit for the registration process. If the time runs out before they submit the form they’ll see that error. |
|
|
Unless it’s incredibly short, that can’t be it. The users were entering the data and moving to the next step without delays between the steps – I was on the phone with them. One was registering 6 people, which I was able to do fine on my side and the others were 3 or 4 people. |
Do you have any plugins activated on the site that are used to clean up the options table from time to time? |
|
|
No, not that I’m aware of. |
This is something that would be really helpful to verify. Can you copy a list of plugins here and so we can check? |
|
|
Of course! There are a few… Aksimet Thanks for checking for me – you guys know this better than I do! |
Hi Valorie, You might try temporarily deactivating the Pippity plugin if it displays any pop ups over the registration forms, which could have the effect of interfering with the checkout. Along with that, if the other event calendar plugin changes the timezone settings for your site, it could have the effect of shortening the length of time that’s given for filling out the registration form. |
|
|
I’ve deactivated both of those plugins, but still got a complaint this morning saying they received an error stating the form data cannot be applied to any registration. |
|
Sorry for the second post, but just wanted to also note that when I went into the dashboard I couldn’t find any abandoned registrations for the person who lodged the complaint. |
Can you triple check with WPEngine and ask them to verify that the following URLs on your site are set to no cache? /annual-conference/ |
|
|
Yes – here is the verification I just got from WPengine: |
Is that actually verification that /annual-conference/registration-checkout/ is set to no cache? |
|
|
I’m assuming so as the screenshot shows all URLs (along with the parent page URLs) have caches turned off. I’m assuming they gave me that screenshot because it’s the 4th time I’ve asked them to verify. |
Hi Valorie, I’m not familiar with varnish caching but it looks like your registration checkout page and other pages may be nested. Generally, they are their own parent pages. Could you try moving them from under the annual conference page to see if that changes anything? — |
|
|
Wouldn’t this create issues for all users, not just a select few? I have more people that are successfully registering than those that are not…. |
No not necessarily because it will only affect those that get the stale cache. It might be a good assumption that removing the nesting might help in this case. |
|
|
Ok, thanks. I’ve already updated and asked the person having issues to clear their cache and try again. Will see if that fixes the issue in the next 24 hours likely. Thanks, |
If it is a caching issue on the server side, it will not help if the person having issues clears their browser cache. Those are two different things. Lorenzo has a good recommendation there to try unnesting the registration-checkout page. Can you unnest that one page? |
|
|
Hi Josh, I’ve already done that. I’m just waiting to hear if it works. Because we’re not really sure if that’s the issue, I also asked them to clear their cache just in case. If it’s not going to make a difference, it at least won’t hurt either. 🙂 |
|
Well, that didn’t work either. Still getting loads of complaints that the “Form data could not be applied to any registration”. This is becoming impractical if I have to manually process everyone’s registration because of these issues… |
|
Also, I’m getting some issues with people trying multiple times. I now have a person that shows up in the dashboard with status “Pending Payment” but the transaction shows as successful?! |
Hi Valorie, Normally these issues are caused by caching. We can try to assume for now that it’s not caused by caching and look at two other possibilities: 1) Another plugin as a contributing factor, or 2) they’re running out of time when they fill out the registration form. The way forward to troubleshoot these is 1) deactivate all of the other WordPress plugins, if no more complaints, then you reactivate the plugins one by one until things break again. For #2, you can add the following code to your site to extend the amount of time limit for the registration session. function espresso_set_session_lifespan() { return 120 * MINUTE_IN_SECONDS; } add_filter( 'FHEE__EE_Session__construct___lifespan', 'espresso_set_session_lifespan' ); You can add the above to a functions plugin, then activate the plugin, or into your WordPress theme’s functions.php file.
For that issue, you can contact WPEngine support and request that they allow the WordPress Heartbeat API scripts to load on the Thank You page. There’s more details about that here: https://eventespresso.com/wiki/setup-wpengine-hosting-event-espresso/#heartbeat |
|
|
The Heartbeat API has been enabled since I started this thread. This issue is still not resolved despite me completing every single request. INCLUDING triple checking with WPEngine on caching with the same confirmation each time. How are we going to resolve this as it’s becoming a nightmare. |
We often see users on WPEngine reporting that they have contacted support and been told that the site is not caching, only for us to view the headers and find the page is still being served from cache. Here is a quick example: https://eventespresso.com/topic/ee3-to-ee4-upgrade-errors-and-cart-always-empty/ This is why we ask to check multiple times that WPEngine has set the pages to be excluded from caching. I did take a look over your site and can’t see any signs of caching within the headers of the registration pages (note this does not actually mean that the page aren’t being cached, it should, but not always)
When I run a registration on your site and select cheque, on the thank you page I get this – http://take.ms/w6Usn The transaction info should load in that section and it should disable instructions for your cheque payment method, however that won’t happen if heatbeat is not enabled. I did however manage to run into the same problem your users are reporting but it is unclear why it happens. It seems something is clearing the session at random times, I’ve varied my registrations across different lengths of time, most of them work but some did not. If you load up something like wp control is there a cron setup in the list to do any kind of cleanup? One issue I did notice on the site although it should not really be connected to this it would be good to rule out. The S3 Media Meastro plugin is loading resources over HTTP when the page is HTTPS – http://take.ms/gMCEq |
|
|
I installed WPCron and got the following two that reference ‘cleanup’ AHEE__EE_Cron_Tasks__clean_up_junk_transactions I also confirmed again with WPEngine that the heartbeat API is already enabled on this site. They moved it up in the configuration in case that was causing the issue. |
Did they enabled it site wide or only on their ‘blessed’ pages? (Likely the latter) the reason I say that is heatbeat.min.js is not loading on your thank you page. This is your site – http://take.ms/X0oBS My test site – http://take.ms/MQrLq This usually happens on WPEngine because they disable heatbeat on all but a few pages and the admin. Can you try adding the function available here: https://eventespresso.com/wiki/setup-wpengine-hosting-event-espresso/#heartbeat To either your themes functions.php file or a Site Specific Plugin Also did you add the code Josh posted previously to ensure the session time was correct? |
|
|
Hi there – I did all of the things you requested and I’m still getting complaints. Today I received two error complaints saying that when they click to proceed to payment it says there is no event…. Please! What else can I do? |
Hi Valorie, You can still ask WPEngine to allow the Heartbeat API script to load on your site’s Thank You page. Here’s a screenshot taken from the web inspector that shows where the Heartbeat API script should normally appear on your site. You’ll note that it’s missing from the list. For your (and WPEngine support’s) reference, here’s a screenshot that shows where the heartbeat script normally appears in the list of script resources on the Thank You page. |
|
|
I just asked AGAIN and they confirmed it was set on their end. They said it was an issue with EE not picking it up rather than it not being set on the server… |
EE sets its scripts to load on the Thank You page. When they’re not loading there, then something may be blocking them. Can you push the current site to a staging site on (that’s standard for WPEngine), then send us credentials for the staging site so we can investigate further? |
|
The support post ‘Issues Registering Multiple People at Once’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.