Two bugs causing a slow site

Home Forums Ticket Products Event Tickets Plus Two bugs causing a slow site

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1202446
    nichestudio
    Participant

    Hello

    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.

    #1202858
    Cliff
    Member

    Hi. 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.

    #1244252
    George
    Participant

    Hello!

    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,
    George

    #1255306
    Support Droid
    Keymaster

    Hey 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Two bugs causing a slow site’ is closed to new replies.