Posted: October 31, 2018 at 1:41 pm
|
When viewing an event created through EE3, I click on the “Click Here to Register” button. When I do this, I am expecting to be brought to the register/cart page. I sometimes am being brought to the correct page, but am often redirected to an index page of all the events on the site. This is happening on multiple events. I am including links to example pages below that this is occurring on: Event page: https://www.mtaloy.edu/event-registration/?ee=3329 The site is live and selling tickets and they are receiving complaints that this is not working- we need to fix ASAP. Thanks! |
Hi Dan, I checked your site and it’s running a very old version of Event Espresso 3, (Version 3.1.35.1) and the newer versions of Event Espresso 3 have compatibility fixes for the newer versions of WordPress. The first thing to do will be to update to the current version of Event Espresso 3. Also, there are a number of JavaScript errors on the page. If updating to the current version of EE3 alone doesn’t fix all the issues, you could try temporarily deactivating some of the other plugins that add scripts to that page (the Add This plugin is one of them) to see it that helps. |
|
|
We are currently working on a new test site with EE4 and everything updated, but we need to get a fix in place now. We noticed that if we are able to somehow not be redirected and are able to successfully get to the cart (which seems very sporadic) the link to “register” changes to “view cart” and then we are never redirected again. Could there be a reason for this? Is there a way to force the cart viewing? |
The redirection part is what’s broken. When you have a “view cart” link, there’s no redirection, so it will work fine. You can update to the current version of EE3 now, as well as check for plugin conflicts. The EE4 update is fine for another day. |
|
The current version of EE3 is also available to download from GitHub: https://github.com/eventespresso/event-espresso-legacy/archive/master.zip |
|
Along with the above, you could also change the shortcode to be only:
|
|
|
We tried to edit it to that shortcode and it is still not working: https://www.mtaloy.edu/event-registration/?ee=3329 |
That’s because the JavaScript errors on the page interfere with the AJAX request. You will need to clear those errors (likely due to some plugins like the AddThis plugin throwing a JavaScript error). The other plugin that’s throwing a JS error is the Event Espresso List Displayer plugin (developed by a third party). You can rule out whether that’s contributing to the issue as well. Also, please understand that it’s imperative to update to the current version of EE3. There were a number of compatibility fixes related to the cart functions (and others) that have been included in the updates over the past few years. WordPress and PHP versions have quite likely moved forward on your site, but the Event Espresso version there is very old and isn’t compatible with newer WordPress and PHP versions. |
|
The support post ‘EE3 "register for event link" redirecting to index of events rather than cart’ 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.