Posted: January 23, 2017 at 12:43 pm
|
I am using multi event registration on statscamp.org when you add an item to the cart, then remove it. Everything looks as though it removed. However if you go back to event OR add another event which loads the cart the contents stay there and can never be deleted. I can only empty the cart if I proceed to registration and hit the cancel registration button. Please advise. |
Hi Brett, What version of Event Espresso and Multiple Event Registration are you using? I’m not able to produce this myself. Do you have any caching enabled? It appears you’re on Godaddy hosting, so you might see this document for fixing GoDaddy caching for WordPress ecommerce. |
|
|
I am using EE4 4.9.26.p and MER 2.0.11.p with WP3 Total Cache version 0.9.5.1 and you are correct about GoDaddy. I will check that link, let me know if you have any other ideas. Thanks! |
|
We are not on GoDaddy managed just regular hosting and I do not see the object-cache.php file in the wp-content/ folder. |
|
For me if anything is in the event cart and I update the cart or delete I get the following message. “The specified item could not be found in the cart, therefore the quantity could not be adjusted. Please refresh the page and try again.” |
Hi Brett, Can you link us to an event we can use to test this please? |
|
Hi Brett, Since it appears that your site is running the W3 Total Cache plugin, you will need to make sure that that cart pages aren’t being cached. This includes object caching and database caching. |
|
|
https://www.statscamp.org/euro-camp/applied-latent-class-analysis or any course from the home page list of them all are the same at statscamp.org |
|
Thanks guys! Is this the proper support article on the process for W3 total? https://eventespresso.com/wiki/setup-nocache-exclusion-rules-event-espresso/ |
Yes, here’s a direct link to the W3 total cache section of that article: https://eventespresso.com/wiki/setup-nocache-exclusion-rules-event-espresso/#w3totalcache |
|
|
Awesome! Thanks Josh! |
|
I followed the instruction and still seem to have the same issue. I am viewing the page in a private firefox window, have flushed all caches after the W3 total cache exclusion. I am also using wordfence but I do not have the performance tab. Did not see any other plugins which are caching. I also have Autoptimize All in one wp security, hearrbeat control, SEO ultimate, SSL insecure content fixer, any of those have any effect? |
|
I disabled the page cache option all together in W3 and then saved settings & purged caches. Still seem to have the same issue. |
HeartBeat Control could cause some issues because the later part of the checkout does use the HeartBeat API. Also, any security plugin that disallows access to wp-admin/admin-ajax.php to logged out users will need to be set to allow ajax access on the front end of the website. |
|
|
I dsabled heartbeat and no change, I scanned through Wordfence and see the wp-admin/admin-ajax.php file listed a few times under the “Firewall” tab only. It is there several times under the “Whitelist URL” section. Not sure what I am looking for here. Any thoughts? |
I’m not familiar enough with WordFence to know. Here’s a few related threads from elsewhere: https://forum.ait-pro.com/forums/topic/wordfence-admin-ajax-php-authentication-required/ https://wordpress.org/support/topic/exception-wp-adminadmin-ajaxphp/ |
|
|
I also have All in one WP security running. Any known issues there? |
|
In the security settings the wp-admin/ folder is set to 755… |
|
Fully disabled W3 Total cache plugin now. Still cant empty the event cart. |
|
I do not feel this is related to the admin-ajax.php as when you go to http://statscamp.org/wp-admin/admin-ajax.php it returns 0 and not 404 |
|
Is it safe/needed to delete the autoptimize plugin cache? |
Hi Brett, I have no knowledge of how the autoptimize plugin works, but it does seem like one of the non-EE plugins may be causing a conflict on your site. Can you try disabling the other plugins one-by-one, then test the cart again? The cart also has issues with adding more quantities of tickets too. For example, you click on the + button in the cart, you’ll get an error, then you refresh and the cart shows what it had before. I think if you can systematically disable each of the plugins one-by-one you may just find the culprit. |
|
Update: After spending some more time looking at the site with one of the developers, we can see that the cart works a-OK if the page is https. Things don’t work if the page is http. So if you have a plugin that’s forcing the front end pages to be http, you should stop using that. Even better, you can install the Really Simple SSL plugin and it will set the whole site to use https. You can drop that insecure content fixer plugin too. |
|
|
BOOM! Yes sir. I already had those plugins installed but on the registration-checkout page I did not have it set to force and I had one non https link which I fixed to resolve the https on that page. So simple but it was beyond me. I am very thankful for your time in helping me resolve this issue. (high five) |
The support post ‘Multi Event Add-On Can't Clear/Empty Cart Contents’ 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.