Support

Home Forums Event Espresso Premium pulling up wrong registration form

pulling up wrong registration form

Posted: September 1, 2022 at 1:13 pm


MPWebmaster

September 1, 2022 at 1:13 pm

I have an event that usually works during testing, but sometimes bring up an event registration form from a prior event that has not been edited. (this is after adding to cart from the new event and proceeding to registration). I did change some template settings, but that doesns’t seem like it would cause this. How can I avoid this – should I delete the old event? Is this a bug?


MPWebmaster

September 1, 2022 at 1:17 pm

to add to this, it appears that the event cart has been populated with 6 items from the prior event that I have no idea how that could have happened.


Tony

  • Support Staff

September 2, 2022 at 5:47 am

Hi there,

There is no code within Event Espresso core that will pull up previous registrations in the way mentioned above, the WP User integration add-on pulls in linked contact data for the current registrations which is a kinda similar (although still not really as your getting additional registrations) to the above and you don’t have that active on the site.

When we see issues such as the above it is almost always due to some form of caching on the server, I can see from the response headers on your site that caching is enabled.

Who host’s the site?

Do they have a section within your control panel where you can exclude URL’s from the cache? If not you may need to contact them and have them do this for you.

If you go to Event Espresso -> General Settings -> Critical Pages (tab)

You’ll see a list of Event Espresso critical pages, by default those are:


/registration-checkout/
/transactions/
/thank-you/
/registration-cancelled/
/events/
/venues/

You’ll need to exclude all of those from server-side caching. Once that has been set up do you still get the same issue?

A couple of notes on this:

1. The headers state the caching mode is BYPASS, which should mean the requests aren’t being cached but we still see issues like this until the above pages are explicitly set to be excluded.

2. Event Espresso already jumps through a bunch of hoops to try and prevent our requests from being cached.


MPWebmaster

September 2, 2022 at 6:44 am

All of these except venues was already excluded for caching; I just added that. Site uses Siteground Dynamic Caching.


Tony

  • Support Staff

September 2, 2022 at 7:20 am

I wouldn’t expect the Venues endpoint being cached would cause this.

Is memcached enabled?


MPWebmaster

September 2, 2022 at 7:32 am

memcached is not enabled


Tony

  • Support Staff

September 2, 2022 at 7:36 am

Ok, do you have the steps to reproduce this on your site?

I’ve run through a couple of test registrations on your current event, adding single tickets, then another and checking the cart to see what tickets display and so far they’ve works as expected so I need to see what happens on the request when this happens.


MPWebmaster

September 2, 2022 at 7:46 am

It usually works, but at least twice it has displayed this error, doing the same exact thing of adding single tickets. As mentioned, the last time this happened I noticed the event cart had other registrations from the closed event in it somehow. Also, I had to make the selection 2 even though no one would ever buy 2, because sometimes it has 1 in the cart and no way to view/empty the cart. Not sure if that is related, but it seems to be related to extra items in cart.


MPWebmaster

September 2, 2022 at 7:50 am

This reply has been marked as private.


Tony

  • Support Staff

September 2, 2022 at 8:08 am

As mentioned, the last time this happened I noticed the event cart had other registrations from the closed event in it somehow.

The only way I can think of that happening is some form of stale cache, there is nothing within Event Espresso itself that will add additional, old registrations to the checkout process.

Also, I had to make the selection 2 even though no one would ever buy 2, because sometimes it has 1 in the cart and no way to view/empty the cart.

When you have the current event in the cart the ticket selector button switches to ‘View Event Cart’, clicking that will direct the user to the cart.

This is from your site, I have 2 ticket in the cart: https://monosnap.com/file/Uf5aZdYErLEopgkOGCZAEIh9PuhUR4

Clicking that takes you to view the cart:
https://monosnap.com/file/FCgn4UcBDJoorV7uUyCWosurzhfrZh

There you can empty the cart, remove/update tickets qty’s etc.

Did you set the ‘Maximum number of tickets allowed per order for this event:’ option to 1?


MPWebmaster

September 2, 2022 at 8:11 am

This reply has been marked as private.


Tony

  • Support Staff

September 2, 2022 at 8:44 am

This reply has been marked as private.


MPWebmaster

September 2, 2022 at 10:34 am

OK so it happened again – happens during normal registration for the garage sale but it brings me to camp registration. It is intermittent. The only thing I can think may be happening is that I am changing the invoice, and when I do preview, it shows the camp as an example. After that may be when the wrong form is being pulled up, but I can’t 100% say for sure, but I can say it happened twice this morning.
Also not sure if you saw my other topic, but the client does not want the invoice to say “Congratulations” since the payment is separate, and wants more verbiage. I cannot figure out how to change that.


Tony

  • Support Staff

September 2, 2022 at 11:21 am

OK so it happened again – happens during normal registration for the garage sale but it brings me to camp registration. It is intermittent. The only thing I can think may be happening is that I am changing the invoice, and when I do preview, it shows the camp as an example. After that may be when the wrong form is being pulled up, but I can’t 100% say for sure, but I can say it happened twice this morning.

Unfortunately without being able to reproduce it’s a bit of a needle in a haystack, I need to see the request to see what is happening.

Also not sure if you saw my other topic, but the client does not want the invoice to say “Congratulations” since the payment is separate, and wants more verbiage. I cannot figure out how to change that.

I hadn’t but I checked our spam threads and found your latest post, apparently Akismet doesn’t like your drive link.

I’m marks it as not spam so its published and I’ll answer there now.

The support post ‘pulling up wrong registration form’ 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.

Event Espresso