Posted: 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. 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!
|
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. |
|
|
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. |
|
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) |
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. |
|
|
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 |
|
Update: |
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. |
|
|
Hi Josh, Thanks for your reply. This is what I got from my web host:
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! |
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. |
|
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.