Support

Home Forums Event Espresso Premium Problem getting 'Sold Out' events to stay published

Problem getting 'Sold Out' events to stay published

Posted: March 26, 2015 at 10:44 am

Viewing 23 reply threads


dlamunyon

March 26, 2015 at 10:44 am

Hi, I’m using EE4 and we’re trying to understand why sold out events are automatically unpublishing once they sell out. I understand that I can go back in and re-publish the event to get it to show back up on the website, but then after a couple of minutes, the re-published event just reverts back to its unpublished status, no matter how many times I re-publish it.

This is a problem for my client, and I have searched the forums for help, but I can’t seem to find anyone else experiencing the same exact problem.

Any help is greatly appreciated!
The website in question is https://sunflowertheatre.org
Thanks.


Lorenzo Orlando Caum

  • Support Staff

March 26, 2015 at 12:01 pm

Hi, I’m having some trouble duplicating this issue.

It should change to a status of Sold Out once no more tickets / pricing options are available but it should not unpublish on its own:

http://cl.ly/image/2n0T1k0v0R3M

What version of Event Espresso 4 are you running?


Lorenzo


dlamunyon

March 26, 2015 at 12:08 pm

I’m running Event Espresso 4.6.17, and using the following add ons:
Event Espresso – Calendar (EE 4.3+) v. 3.2.1
Event Espresso – Events Table View Template (EE4.4.9+) v. 1.3.2
Event Espresso – MailChimp (EE4.4.5+) v. 2.2.2


Dean

March 27, 2015 at 7:59 am

Hi,

I took a look at your site and saw that the 28th March event for Craig Childs is sold out. It is showing on the /events/ page and also on the /cortez-events/ page.

Is this the event that is having the issue or is it intermittent i.e. only some of the sold out events are disappearing?

We have not seen any issues with sold out events being removed form the event list, unless the event itself has expired (end date is in the past).


dlamunyon

March 28, 2015 at 11:37 am

Thanks for checking; that is the sold out event. What’s happening is that the sold out event disappears from the slider on the home page, and from the upcoming events widget in the sidebar. From the sold out event edit screen, the blue WordPress button in the upper right corner says ‘Publish’ instead of ‘Update’, as if it were changed to a draft.

Re-publishing the event by hitting ‘Publish’ fixes it temporarily, but only for a few minutes. After 3-5 minutes it reverts back and appears to be unpublished again. It was the same case with the last event that sold out. Otherwise, we are having no problems with the way events are functioning and being displayed.

I’m also not sure why the sold out event shows up in some parts of the site and not others.


Lorenzo Orlando Caum

  • Support Staff

March 30, 2015 at 10:22 am

Hi, unfortunately we have not seen other reports of this issue so we aren’t sure why this is happening. We rolled out a maintenance release last week.

Could you backup your WordPress and update to the new version?

Then could you check to see if it still occurs?


Lorenzo


dlamunyon

March 30, 2015 at 6:15 pm

I have updated to the newest version, but the end date of the event has now passed. I set the site up in a development area to test it, and so far it has not happened. We will keep an eye on the live site and see if it happens again when the next event sells out.

Thanks.


dlamunyon

April 10, 2015 at 10:06 am

Our live site is still reverting to being unpublished.


Lorenzo Orlando Caum

  • Support Staff

April 10, 2015 at 10:15 am

Hi, we have not seen other reports so I suspect this is a conflict on the site.

What other plugins are running on your site?


Lorenzo


dlamunyon

April 10, 2015 at 10:27 am

Akismet 3.1.1
BackupBuddy 5.2.0.1
Easy FancyBox 1.5.7
Event Espresso 4.6.19.p
Event Espresso – Calendar (EE 4.3+) 3.2.1
Event Espresso – Events Table View Template (EE4.4.9+) 1.3.2.p
Event Espresso – MailChimp (EE4.4.5+) 2.2.2.p
Google XML Sitemaps 4.0.8
Gravity Forms 1.9.5
Gravity Forms MailChimp Add-On 3.5
Gravity Forms Stripe Add-On 1.5
Jetpack by WordPress.com 3.4.1
NOAA Weather 1.3.0
Post Expirator 2.1.3
Q and A FAQ Knowledge Base for WordPress 1.0.6.2
Simple Social Icons 1.0.8
SlideDeck 2 – Developer Addon Package 2.3.10
SlideDeck 2 – Professional Addon Package 2.3.10
SlideDeck 2 Lite 2.3.10
SlideDeck 2 Personal 2.3.10
The Events Calendar 3.9.1
The Events Calendar Pro 3.9.1


Lorenzo Orlando Caum

  • Support Staff

April 10, 2015 at 10:32 am

Ok, this is just an idea but this plugin looks like it could change post dates based on certain conditions:

Post Expirator 2.1.3

Events in Event Espresso aren’t blog posts but some information for them are stored as custom post types in wp_posts (dbprefix_posts).

Could you try temporarily turning that plugin off for a few days?


Lorenzo


dlamunyon

April 10, 2015 at 10:33 am

Sure thing. Thanks.


dlamunyon

April 10, 2015 at 10:41 am

It’s still happening. Is there a reason you say to have it turned off for a few days?


Lorenzo Orlando Caum

  • Support Staff

April 10, 2015 at 10:45 am

Alright, I was thinking it occurred once an event switched to sold out automatically. Does the same thing happen with only Event Espresso running?


Lorenzo


dlamunyon

April 10, 2015 at 10:49 am

It’s hard for me to check that as the problem is only occurring on a live site. This problem doesn’t occur on our test site, and the only difference between the two is that the live site has SSL.


Tony

  • Support Staff

April 10, 2015 at 10:53 am

From within your event editor, can you scroll down and double check that the ‘Post Expirator’ has not been enabled on the event please?

http://take.ms/rcpMD


Lorenzo Orlando Caum

  • Support Staff

April 10, 2015 at 10:56 am

Hi, that is a good point. Could you schedule a brief window (e.g. 5 mintes) to test during off-hours?

Post Expirator stood out since it can change post dates but it doesn’t look like that is the cause. Sorry about that.


Lorenzo


dlamunyon

April 10, 2015 at 11:29 am

Checked post expirator – I have it disabled for the EE post type. Reenabled just to check if it was checked before and it hadn’t changed since it was disabled. No luck. But I have a new clue…

When I republish the event, it shows up correctly for a while and then disappears. It seems that what triggers the disappearance is visiting this page. I can click on all kinds of other pages, but once I click on https://sunflowertheatre.org/cortez-events/ the event disappears (you can tell by the Upcoming Events widget because it disappears in there as well).


dlamunyon

April 10, 2015 at 11:34 am

This is the shortcode on that ‘cortez-events’ page:
[ESPRESSO_EVENTS_TABLE_TEMPLATE show_expired=”true”]


Tony

  • Support Staff

April 13, 2015 at 6:15 am

There’s a couple of ways for an event to be sold out, so can you clarify how your event is set up please? Single datetime, single ticket?

Is the limit on the datetime(s) or the ticket(s)?

I’ve tested limits on both, then used the above shortcode on a new page, with no effect.

Can you load this page:

https://sunflowertheatre.org/cortez-events/

In another tab open up the event editor for that event and publish the event.

Refresh the event table page straight after.

Now refresh the event editor page, is the event still published?


dlamunyon

April 13, 2015 at 10:15 am

I’m not sure how to answer some of this, but I will do my best.
>>>Single datetime, single ticket?
Yes
>>>Is the limit on the datetime(s) or the ticket(s)?
It’s on both.

Here is what happened when I followed the instructions you shared…
>>>Can you load this page:
>>>https://sunflowertheatre.org/cortez-events/
>>>In another tab open up the event editor for that event and publish the event.
>>>Refresh the event table page straight after.
Event did not show up when I refreshed the page
>>>Now refresh the event editor page, is the event still published?
No

Also tried this…
1. I published the event again and went to the home page. The event was there.
2. Went to event editor page and the event was still published.
3. Went to the ‘cortez-events’ page and then back to the home page. The event was not there.
4. Went to event editor page and the event was no longer published.


Tony

  • Support Staff

April 13, 2015 at 12:31 pm

Thank you.

What I wanted to confirm with the above is that visiting the page is actually what forces the status change and that it was not previously a coincidence. (Which have done :))

>>>Is the limit on the datetime(s) or the ticket(s)?
It’s on both.

So is it the Ticket or Datetime limit that has been reached to make the event Sold Out (or again both?)

It’s a very odd issue and not something we have been able to re-produce so far. Could I take a look over the event and see if I can see anything that stands out? If so could you send temporary log in details using this form please:

https://eventespresso.com/send-login-details/


dlamunyon

April 13, 2015 at 1:10 pm

Done


Tony

  • Support Staff

April 13, 2015 at 2:48 pm

After looking over your event, I think there’s some confusion on the issue here.

A ‘Sold Out’ is effectively a ‘draft’ post , although EE knows the event is sold out and displayed the event. So when you see the event status like this – http://take.ms/insTY

That is a draft ‘post’, but a Sold out event, EE identifies this and displays the events on the front end. These events should always be displayed within the standard event list, NOT the ‘Draft’ section.

If you notice now when you go here: https://sunflowertheatre.org/cortez-events/

The sold out events are displayed.

Would they normally just disappear randomly? Or would you do something differently?

I still suspect this is due to the Post Expirator plugin, as it sets cron jobs to do it bidding. Meaning you could set the event as it is now, working fine. Then the cron runs and removes the event.

It could also be another cron set to remove Draft posts (without checking the post_type), have you set anything like this manually?

Viewing 23 reply threads

The support post ‘Problem getting 'Sold Out' events to stay published’ 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