Posted: October 29, 2018 at 10:53 am
|
I have just sold out my first event, woohoo.. I did setup the waitlist plugin to capture others who are interested however now that the event is sold out the event detail page just gets a 404 error. I have no clue how to work out what is causing this. Please help |
Hi, Usually the event should still be published even after it’s sold out. If you go in to edit the event is there a Publish button? |
|
|
Yes there is a publish button, I even pressed PUBLISH but then I got a message “Please note that the Event Status has automatically been changed to Sold Out because there are no more spaces available for this event. However, this change is not permanent until you update the event. You can change the status back to something else before updating if you wish.” and then the button PUBLISH shows again. |
That part is expected. What’s not expected is the 404 error. Just above the Publish button, there will be a Visibility option. Is that option set to Public? |
|
|
yes it is. |
If you go to WP Dashboard > Settings > Permalinks (simply load that page, no need to change anything there) does the 404 error persist? |
|
|
no. works find |
Do you mean “works fine” or is the event page still returning a 404 error? |
|
|
to clarify I went to WP Dashboard > Settings > Permalinks (I didn’t save anything) and that page loads fine with no 404 and then I went to the event detail page its still 404 |
OK, thanks for making that clear. What you can do next rule out a plugin or theme conflict. One way to do this is install the Health Check plugin, then go to WP → Dashboard → Heath Check → Troubleshooting. There you’ll Enable Troubleshooting Mode, then once that’s activated you’ll reactivate Event Espresso only via the Health Check’s Troubleshooting item in the WP admin bar. At that point, can you check to see if the issue persists? |
|
|
ok so I installed that and identified it is something in the theme I am using that is causing the 404. So what now? can you help me?? |
If there’s a way we can download a copy of the theme we can take a look at its code to see where it needs to be amended in order to avoid 404 errors. If you can upload to a dropbox or similar file share, then post a link here we can go from there. |
|
|
This reply has been marked as private. |
Here’s a fix for the Tennis Club theme: https://gist.github.com/joshfeck/16407ed5c86c029127959c7ed8a44c29 You can add the above to a functions plugin or if you use a child theme, into your WordPress child theme’s functions.php file. |
|
|
great. that worked and I can see the event again!! thanks so much. So my minor problem now is I have the buy tickets box at the top and bottom of the page and the WAIT LIST is now working. However when you use the bottom WAITING LIST button the popup doesn’t appear on the visible part of the page, you have to scroll up and feels like its broken. Any ideas on how to fix this? |
May I ask how was it that you added a second ticket selector table? Normally there should only be one. |
|
|
I copied the “content-espresso_events.php” file to my child theme and then edited it e.g.
|
OK so was it intended to have two identical ticket selectors or you only want one ticket selector? If one, which one? |
|
|
I want 1 at top of content and 1 at bottom as your event descriptions are long. I do want them both to stay. thanks |
You can add this to your site’s custom stylesheet to fix the issue with the extra ticket selector & the wait list form:
|
|
The support post ‘404 Error for Event Detail Page when the event is sold out’ 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.