Home › Forums › Ticket Products › Event Tickets Plus › Two bugs causing a slow site
- This topic has 4 replies, 5 voices, and was last updated 9 years, 2 months ago by
nichestudio.
-
AuthorPosts
-
December 6, 2016 at 9:30 pm #1202446
nichestudio
ParticipantHello
There are two bugs in the Events Tickets plugin that are causing our site to run slowly.
First Bug: The function “Tribe__Tickets__Tickets_View::inject_link_template_the_content” that is added to the filter “the_content” does not check whether the current post type is allowed to have event tickets. It is running on every post type.
Second Bug: The function “Tribe__Tickets__Tickets::get_event_attendees” does not properly differentiate between an unset/expired transient or one that simply has no items in the cached array. This means posts with no tickets or rsvps will cause the function to fully execute each time, even though a cached result (of zero items) is available in a transient.
These bugs combined cause a new transient to be deleted and re-created every time the filter “the_content” is called on every page, post, and custom post type. This effectively doubles the number of database queries and page load time.
December 7, 2016 at 12:42 pm #1202858Cliff
MemberHi. Thanks for the detailed bug report. I’ve passed it along to our developers to further investigate.
I’ll mark this ticket as Pending Fix, which means this thread should receive a reply once the applicable fix has been released. I cannot guarantee when it will be fixed as it’s in the development team’s hands now. They need to assign it, code it, test it, and schedule it for release.
I apologize for this issue and appreciate your understanding and patience.
February 22, 2017 at 7:17 pm #1244252George
ParticipantHello!
I wanted to post a quick note here that we have published a new Maintenance Release today that should help with performance in regards to what you mentioned here.
You can read about the details of this release here → https://theeventscalendar.com/maintenance-release-events-calendar-4-4-3-event-tickets-4-4-3-premium-add-ons/
Cheers,
GeorgeMarch 16, 2017 at 9:35 am #1255306Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Two bugs causing a slow site’ is closed to new replies.
