Support

Home Forums Event Espresso Premium Cart Empty

Cart Empty

Posted: February 4, 2020 at 11:15 am

Viewing 9 reply threads


soulworkings

February 4, 2020 at 11:15 am

Hi,

I was just notified yesterday of a potential bug – a student has shared that she added an event to the cart (redacted), and when she clicked on “View Cart” it came up empty.
She is on a Dell desktop, using Google Chrome.

My system info:

WordPress Version: 5.3.2

PHP Version: 7.2.19

MySQL Version: 5.5.5

Event Espresso Version: 4.10.3.p

I would appreciate any insight or help to resolve this.

Thank you!
Amy

  • This topic was modified 4 years, 9 months ago by Josh. Reason: removed urls


Josh

  • Support Staff

February 4, 2020 at 11:58 am

Hi Amy,

I checked and I can see the same issue on your site. It appears that something is setting a new PHPSESSID with every page load. That would cause the cart to empty. Have any new plugins been added or updated recently? You could try deactivating those, then check the cart again while logged out of the website to see if that fixes the issue.


soulworkings

February 4, 2020 at 2:19 pm

Hi Josh,

Thank you so much for the quick response. I have been able to troubleshoot the plugins on my end, and got it to work for me on google chrome after updating the plugins, although I’m on a Mac. My student has tried again, and she says the cart shows up empty now when she proceeds to payment. She has also tried to register through the mobile site via her phone and the site said both the early and regular registration rates were sold out.
I’m wondering how I can effectively troubleshoot this issue if it’s working on my end (maybe because I”m on a Mac?), but not for my student (PC). I don’t want to keep asking her to try again after every change I make on this end. Any suggestions?
Separately, I have gotten feedback from a couple of other people that have tried registering through the website and unable to proceed to payment, etc.


soulworkings

February 4, 2020 at 2:20 pm

Sorry, meant to add to the last sentence above that those people tried registering through their phones and had trouble proceeding to payment, etc. (iPhones and Androids)


Josh

  • Support Staff

February 4, 2020 at 2:36 pm

Hi,

I’m on a Mac and I can’t successfully add anything to the cart on your site. The cart gets wiped on every request.

The difference may actually be being logged into the site vs. not logged into the site. I assume that after you updated plugins you were still logged into the site? If so, the way to troubleshoot this will be to test the site while logged out.


soulworkings

February 4, 2020 at 4:42 pm

Hi Josh,

I have made sure to be logged out of the site when I tested this on Safari, Chrome, and Firefox… and it seems to be working every time for me, up to the payment page. I haven’t gone as far as putting payment info in, for obvious reasons but everything seems to be working on my desktop and iPhone XR… Any other ideas?

Amy


soulworkings

February 4, 2020 at 8:31 pm

Update:
I tested the website on a PC using Chrome and Firefox. I didn’t experience the empty cart problem when using Chrome from the start. I went through each plugin deactivation/activation with Firefox and the cart came up empty each time. I finally restarted Firefox and now everything’s working. I didn’t make any changes to the plugins (they are all currently activated) so I am at a loss here. Not sure why it wasn’t working before and now I’m not sure why it’s working now…


Josh

  • Support Staff

February 5, 2020 at 12:29 pm

Hi,

It’s still not working when I check.

You could check with your web host and ask them if they can investigate why PHPSESSID changes with every page load. There may be a problem with Session storage if it’s not another plugin errantly restarting the PHP session with every page request.


soulworkings

February 10, 2020 at 9:16 am

Hi Josh,

Thanks for your reply. This is what I got from my web host:

I’ve checked the problem. I’ve confirmed it’s happening in Firefox for Windows.

You have a very nice website, sorry this issue is happening.

The goal here is to stop the behavior of a new page opening when “View Event Cart” is clicked. That may very well be the cause, that a new PHP session is opening when the new page is opened.

I’m not certain what is causing the new page to open. It seems to be a function of the plugin allowing the cart functionality.

Standard WordPress troubleshooting means to deactivate all plugins except for only the one(s) needed for the cart functionality. The hope is the problem will not happen. And then you could re-enable until the issue happens again.

I think this is perfect to report to the plugin developer, as the fix should be simple.

My student was able to register for a class on her iPhone 10 at the Philly airport without making any other changes on this end.

Any other thoughts or suggestions?

Thanks!
Amy


Josh

  • Support Staff

February 10, 2020 at 9:26 am

Hi Amy,

Loading a new page should not cause a new session to start. You could check with the web host to see if that’s expected on their infrastructure. Normally a session should persist when going from one page to another page.

The web host support tech has a good suggestion to try standard WordPress troubleshooting though.

Viewing 9 reply threads

The support post ‘Cart Empty’ 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