Help Desk

Event Plugin Slowness

  • Posts: 20 Topics: 8
    | Permalink

    Hello,

    We are running into a lot of slowness due to the event plugins installed on our site. These seem to be the result of several queries taking place between Events Tickets Plus and WooCommerce. It doesn’t run on every page, but they are running on our homepage, http://www.prephoops.com which takes ~9 seconds to load on average. On the pages that don’t use those queries such as http://www.prephoops.com/minnesota, load times are ~3 seconds.

    In addition, trying to load our events page in the admin takes over 30 seconds to load: https://www.prephoops.com/wp-admin/edit.php?post_type=tribe_events

    Is there anything we can do to reduce the amount of time these queries take to load and speed up load times where the event plugins are being used? Thanks!

    Travis

    Posts: 5926
    | Permalink

    Hi Jake,

    Thanks so much for reaching out!

    I’m sorry to hear that your site is running slowly with use of our plugins.

    As a first step, please have a look at our Performance Considerations and see if there is anything you can adjust in order to help your site run better:

    https://theeventscalendar.com/knowledgebase/performance-considerations/

    After that, you may be interested in caching, so take a look at this article:  https://theeventscalendar.com/knowledgebase/caching-basics/

    In addition, you can check out some of the solutions provided in this forum post:

    https://theeventscalendar.com/support/forums/topic/decreasing-loading-time-for-big-amount-of-events/

    Let me know how it goes and if you need any further assistance on this topic!

     

    Thanks,

    Jaime

    Posts: 20 Topics: 8
    | Permalink

    Hi Jamie,

    The biggest issue we have is loading our events on the admin side here: https://www.prephoops.com/wp-admin/edit.php?post_type=tribe_events&mode=list#qm-query-expensive

    It’s taking around 45 seconds now to pull up all of the events, and it’s very slow viewing a single event page as well.

    The articles linked in your response primarily focus on increasing the speed on the front end. Is there anything we can do to improve back end speed?

    We only have 36 events total created on our site, which seems like a relatively small amount. Is it an issue of this plugin not scaling well enough to support that number of events?

    Posts: 5926
    | Permalink

    Hi Travis,

    Thanks so much for providing me with that information.  With 36 events on your site, there shouldn’t be an issue with site speed, however there are many factors that can make up the site speed on your site.  Do you have a lot of recurring events?  Or events that recurring indefinitely?  Also, if there are events with a lot of custom rules, that can also slow things down.

    As a next troubleshooting step, let’s try to rule out if there is some type of conflict at play.
    This is usually because of:

    1.    A conflict with another plugin

    2.    A conflict with your WordPress theme

    3.    A template customization for the Events Calendar that requires updating

    When it comes to that type of issue, it is preferable to troubleshoot in a staging environment if you have one.

    A first quick test is to simply temporarily revert back to a default WordPress theme such as twenty-sixteen to see if the issue persists.

    The next step would be to go through our testing for conflicts procedure and let us know what you find out.

    Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is.

    But, before you do that, there are 2 things I would advise:

    1.    Make a backup of your database

    2.    Consider activating a “Maintenance Page” plugin if you are doing this on your live site (to minimize impact on your visitors)

    Let me know how that goes!

     

    Thanks,

    Jaime

    Posts: 20 Topics: 8
    | Permalink

    Jaime,

    I have reverted to the 2016 theme and deactivated all plugins except for Events Calendar, Events Calendar Pro, Event Tickets, Event Tickets Plus, and WooCommerce, all of which are required to power our event registration.

    Even with those changes, the admin side of the plugin is still very slow to load, around 30+ seconds to load the events listing page: /wp-admin/edit.php?post_type=tribe_events

    In addition to the slowness, we now aren’t having our attendee fields display on the front end for newly created events, which I’ve seen several other users report in the forums during the last few days. This is also happening while the 2016 theme is being used, so it doesn’t seem likely that it’s a conflict with our standard theme: https://www.prephoops.com/event/prep-hoops-series-session-1

    We rely on these event registrations as part of our business and it’s very frustrating when the registrations don’t work properly as we continue to run into numerous issues with this plugin. Most importantly, what can we do to resolve the attendee form and then secondly, the slowness?

    Travis

    Posts: 5926
    | Permalink

    Hi Travis,

    I’m sorry to hear that you are experiencing these additional issues on your site!

    Let’s start by addressing the attendee fields issue.

    As a first step, can you try flushing your permalinks by going to Settings < Permalinks and Save Changes.

    In addition, can you take a screenshot of what this event (https://www.prephoops.com/event/prep-hoops-series-session-1) looks like on the backend, so that I can try to replicate things on my end?

    Let me know if you have any other questions in the meantime!

     

    Thanks,

    Jaime

    Posts: 20 Topics: 8
    | Permalink
    This reply has been marked as private.
    Posts: 5926
    | Permalink

    Hi Travis,

    Thanks for providing me with all of that information.  I have done some testing with setting things up the way you have in your screenshots and everything seems to work as expected for me.

    One thing that I noticed is that the screenshots you provided are not related to the event that you linked to, or at least the information (ie price, dates) are inconsistent.  Are these for two different events?

    Also, what are you using to display the information in the second screenshot?  That doesn’t seem to be something related to our plugin, and I’m just curious if that could be causing an issue.

    In addition, can you try creating a new test event with an attendee form and see if the issue is there as well?

    Let me know!

     

    Thanks,

    Jaime

    Posts: 20 Topics: 8
    | Permalink

    Jaime,

    Those screenshots are from the event linked here that I included in the previous email: http://prephoops.staging.wpengine.com/event/prep-hoops-series-session-1/

    The fields you see in the second screenshot are coming from the plugin Advanced Custom Fields, which is also being used on an event where the registration field is working, such as this one: https://prephoops.staging.wpengine.com/event/battle-at-the-lakes/

    Here is another test event I created with an attendee form that is not working either: http://prephoops.staging.wpengine.com/event/test-event/

    Travis

    Posts: 5926
    | Permalink

    Hi Travis,

    Gotcha, thanks for all of that info.  Just to confirm, have you tried creating a test event with an attendee form using a bare WordPress install (a default WordPress theme, like ‘Twentyseventeen’ and only Events Calendar plugins and WooCommerce installed and activated)?  If not, please go ahead and try that.

    In addition, are you using redirects or some customization for your registration buttons?  Can you try removing all customizations and seeing if that resolves the issue?

    Unfortunately the test event has passed, so I cannot see things in action there.  As I mentioned previously, I tried re-creating the same event on my backend that you shared screenshots for, and my attendee forms showed up, so I haven’t been able to replicate the issue so far.

    Let me know how that goes!

     

    Thanks,

    Jaime

    Posts: 20 Topics: 8
    | Permalink

    Jaime,

    That issue still persists when using the Twenty Sixteen theme and only having the event plugins and WooCommerce activated, you can see another test event here: http://prephoops.staging.wpengine.com/event/test-event-3/

    Travis

    Posts: 5926
    | Permalink

    Hi Travis,

    The attendee form works for me with your test event (http://prephoops.staging.wpengine.com/event/test-event-3/).  Do you see the same results?

    Let me know!

     

    Thanks,

    Jaime

    Posts: 20 Topics: 8
    | Permalink

    No, I am not seeing the attendee form.

    Posts: 5926
    | Permalink

    Hi Travis,

    It seems that test event expired again so I cannot check again, however can you re-create the event and check in a private browser window?  This way, your browser history will not affect what you see.

    Let me know how that goes!

     

    Thanks,

    Jaime

    Posts: 20 Topics: 8
    | Permalink

    Jamie,

    I have that event set to be open until 1/27, so the registration should be open. I have tested the event in an incognito window and I’m still not seeing the attendee form.

    http://prephoops.staging.wpengine.com/event/test-event-3/

    Posts: 5926
    | Permalink

    Hi Travis,

    The registration form is now not working for me on that event, however all other information is blank as well.  Are you seeing the same thing as me?  Can you take a screenshot of the backend of this event so that I can recreate it on my end and test if I get the same results?

    Thank you for your patience in this process.  Let me know if you have any other questions along the way!

     

    Thanks,

    Jaime

    Posts: 20 Topics: 8
    | Permalink

    Jamie,

    I didn’t fill out any information on that event other than start date, end date, and the ticket information, all of which is shown in the attached screenshots.

    Posts: 20 Topics: 8
    | Permalink

    Jamie,

    I didn’t fill out any information on that event other than start date, end date, and the ticket information, all of which is shown in the attached screenshots.

    Posts: 5926
    | Permalink

    Hi Travis,

    Great, thanks for providing me with those screenshots.  I have replicated the event as per your screenshots, and I am still unable to replicate the issue, as Attendee form information shows up on my end.

    As I mentioned in my last reply, there is no information showing up on your test event (ie the date, time, price, location), although you have entered the information on the backend.

    I am seeing a number of errors related to your theme in the console, which you can learn more about here.  Have you tried this test event on a default WordPress theme, such as ‘Twentyseventeen’?

    We have also recently released some new versions of our plugins.  Can you update and test if your issue still occurs?

    In addition, I am not seeing this in your system information, however what post types do you have tickets enabled for?  You can find this setting under Events Settings < Tickets.

    Let me know how that goes!

     

    Thanks,

    Jaime

    Posts: 20 Topics: 8
    | Permalink

    Jamie,

    I have tested three different test events on the default Twenty Sixteen theme with only the event and woocommerce plugins and have not have the attendee form show up on any of them.

    In addition, I just created a new event on our production site that is running the latest versions of the plugins and I’m not seeing the form there either.

    Travis

    Posts: 5926
    | Permalink

    Hi Travis,

    I am now wondering if the issue is related to your initial issue of site speed or a database issue on your site.

    As a next step, can you try creating a fresh WordPress install and creating the same scenario to see if the issue occurs there?  As I mentioned previously, I was unable to replicate this issue on my own site, and I have been able to see attendee forms show up on your site a few times, so I think this is a worthwhile next step.

    Let me know how that goes!

     

    Thanks,

    Jaime

    Posts: 20 Topics: 8
    | Permalink

    Jamie,

    Our developers were able to track down the issue. Since the latest plugin update, _tribe_tickets_meta_enabled is not being added to newly created events in the database and therefore the registration form is not displaying.

    Is this something your team is aware of? If so, can we expect a fix in the next version of the plugin?

    Travis

    Posts: 5926
    | Permalink

    Hi Travis,

    I’m glad that you were able to track down the issue on your site.  Unfortunately, I have not been able to replicate the issue so far, but once I can confirm that the issue is present in other situations, I would be happy to log a bug report for it.

    As I had mentioned in my previous reply, can you try creating a fresh WordPress install and creating the same scenario to see if the issue occurs there?

    I am still wondering if the information is unable to be saved because of the size of your database, which was the original issue that you were having.  Although I am going to continue to explore the issue that you mentioned as well.

    Let me know your thoughts!

     

    Thanks,

    Jaime

    Posts: 65
    | Permalink

    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

    | Permalink

The topic ‘Event Plugin Slowness’ is closed to new replies.