Support

Home Forums Event Espresso Premium Event pages randomly give a 404 error page

Event pages randomly give a 404 error page

Posted: December 19, 2019 at 7:38 am

Viewing 6 reply threads


mattkzbt

December 19, 2019 at 7:38 am

Hi all,

I’ve read over other posts on this topic and so far nothing seems to solve our issue. At random times the ticket page for our event will stop working and just load a 404 page. We then need to go in and re-save the site permalinks to get it working again.

Nothing will have changed on the site from one day it works to the next it doesn’t. We don’t have any other event plugins on the site nor do we have any pages using the events slug either.

Any/All advice welcome as its happened a few times now and has stopped people buying a ticket so its either fix it or we find another solution to sell tickets.


Josh

  • Support Staff

December 19, 2019 at 12:00 pm

Hi,

While we’ve not been able to replicate the issue on our development and testing sites, we’ve seen this happen on some sites and the cause seems to be a combination of plugins and the theme.

We’ve made a branch of the current release of Event Espresso that includes a change to when the Event Espresso rewrite rules are flushed. The change makes this happen later in the request. If it’s a case where another plugin (or the theme) on your site requests a flush of the rewrite rules later in a request, then this branch will help.

You can download a copy of this version of Event Espresso here. Then you remove and reinstall the Event Espresso plugin with this version.


mattkzbt

December 19, 2019 at 12:02 pm

Thanks Josh we’ll give this a try and see how it goes.

Can we just swap the files out on the server or do we need to actually uninstall the plugin and reset it all up?


Josh

  • Support Staff

December 19, 2019 at 1:15 pm

It’s just a file swap. All of the plugin’s data is stored in the site’s database which is separate.

File swap step by step:

1. Download the EE4 branch plugin from here **Important, see footnote[^1]**
2. Go to your WP Dashboard Plugins page and deactivate and delete the currently installed version of Event Espresso (you will not lose data because Event Espresso does not run uninstall scripts when you deactivate & delete the plugin)
​3. Upload the new plugin to your site via Dashboard -> Plugins -> Add New
4. Activate the plugin

[^1] If you use Safari on a Mac, the default browser settings will unzip the file. If that happens you’ll need to re-compress the folder into a zip file, or use a different browser to download.


mattkzbt

December 20, 2019 at 3:25 am

Thanks Josh got it all swapped. For updates to the plugin will they continue to pull in this modified version or how do we handle that?


Tony

  • Support Staff

December 20, 2019 at 5:08 am

You’ll need to swap back to the release version of Event Espresso to receive updates, the version above will not updates as ts a dev branch.

The important part for you right now is to see if that version works any better and stops the above issue. If so we can include it in the release version so you can manually switch to that on the next update and then continue on as normal.


mattkzbt

December 22, 2019 at 11:50 am

ok great sounds good. Will be in touch if we have any issues.

Viewing 6 reply threads

The support post ‘Event pages randomly give a 404 error page’ 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