Matt

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 41 total)
  • Author
    Posts
  • Matt
    Participant

    Hi András,

    Not sure how it happened- the client manages the Events – I’m just the web dev.

    I was able to successfully update the date to a future date instead of the past and that seemed to be fine for the events that said they started in 2018 and ended in 2015.

    I spun up a staging site and observed that deleting events from the system (actually just trashing them) had a HUGE performance benefit for the site. Which I think circles back to the fact that the Events pages aren’t caching well and so each Calendar view was queueing up a huge amount of data. With tons of events removed, that amount of data is smaller so it’s faster- but ideally we should just be able to cache.

    Is there anyway we can disable the built in crons for refreshing events and instead cache everything and update it with an external cron? The root of the problem seems to be the large number of events + bad caching.

    Thanks!

    Matt
    Participant

    I’m working again on trying to isolate why the site is going slow- I did have one question though-

    On many events I’m seeing the following:

    Start Date: September 20, 2018
    End Date: January 15, 2015

    Is this cause for concern? Doesn’t seem to make too much sense?

    in reply to: WordPress database errors, Slow performance and Slow Errors #1242223
    Matt
    Participant

    Let me know if there’s anything else I can try-

    Some ideas I had was maybe deleting the Tribe database tables and seeing if the site still had these after with some test events.

    Or would creating a new bespoke site and importing all of this sites data into it help any?

    Thanks,
    Greg

    in reply to: WordPress database errors, Slow performance and Slow Errors #1242198
    Matt
    Participant

    How were these current events added to the calendar?
    – Presumably manually. It’s possible some of them were imported a long time ago though.

    Were they imported or added manually?
    – Added Manually as far as I know.

    If you add a new event manually, does that also load slow?
    – Yes, I added a non reoccurring event with basic settings and it loads as slowly as all the others. (1 minute 11 second load time.)

    Does this happen to recurring events only or any kind of event?
    – Based on last test any event.

    Who is your hosting provider and what kind of package do you have?
    – We use Flywheel hosting and this site is one of many on our bulk plan. (We have other sites running Events Calendar on this same server with no issue).

    Let me know if there’s anything else I can do or provide… we are having A LOT of issues with this site and plugin at this time. Last Friday the site crashed three times!

    Thanks,
    Greg

    in reply to: WordPress database errors, Slow performance and Slow Errors #1240546
    Matt
    Participant

    This reply is private.

    in reply to: WordPress database errors, Slow performance and Slow Errors #1240543
    Matt
    Participant

    This is a screenshot of loading a single event- over 1 minute load time. So… that’s not normal!

    From the logs:

    Error Log:
    [17-Feb-2017 23:40:34 UTC] PHP Fatal error: Class ‘ComposerAutoloaderInit5e121ce72da7c21d41555f798d186d06’ not found in /www/wp-content/plugins/the-events-calendar/common/vendor/autoload_52.php on line 7

    Slow Error Log:

    script_filename = /www//index.php
    [0x00007f0d68ae9ab8] mysqli_query() /www/wp-includes/wp-db.php:1877
    [0x00007f0d68ae9600] _do_query() /www/wp-includes/wp-db.php:1765
    [0x00007f0d68ae8648] query() /www/wp-includes/wp-db.php:2388
    [0x00007f0d68ae7930] get_results() /www/wp-includes/class-wp-query.php:2846
    [0x00007f0d68ad9c10] get_posts() /www/wp-includes/class-wp-query.php:3238
    [0x00007f0d68ad9a68] query() /www/wp-includes/class-wp-query.php:3347
    [0x00007f0d68ad98c0] __construct() /www/wp-content/plugins/the-events-calendar/src/Tribe/Query.php:1017
    [0x00007f0d68ad9338] getEvents() /www/wp-content/plugins/the-events-calendar/src/functions/template-tags/general.php:218
    [0x00007f0d68ad9150] tribe_get_events() /www/wp-content/plugins/the-events-calendar/src/Tribe/Main.php:3779
    [0x00007f0d68ad8bd0] get_closest_event() /www/wp-content/plugins/the-events-calendar/src/Tribe/Main.php:3810
    [0x00007f0d68ad8740] get_event_link() /www/wp-content/plugins/the-events-calendar/src/functions/template-tags/link.php:38
    [0x00007f0d68ad85d0] tribe_get_prev_event_link() /www/wp-content/plugins/the-events-calendar/src/functions/template-tags/link.php:25
    [0x00007f0d68ad84c0] tribe_the_prev_event_link() /www/wp-content/plugins/the-events-calendar/src/views/single-event.php:48
    [0x00007f0d68ad7e98] +++ dump failed

    in reply to: WordPress database errors, Slow performance and Slow Errors #1240508
    Matt
    Participant

    Hola,

    I have updated the plugin to the latest version. I have also spun up a staging site, disabled our theme and activated 2017 theme. Disabled all plugins except events cal, events cal pro and a events cal shortcode plugin.

    I will check the logs and see what’s going on.

    Thanks,

    Greg

    in reply to: WordPress database errors, Slow performance and Slow Errors #1235833
    Matt
    Participant

    I see in your system information that you are using version 4.4.1 of our plugins. Did you downgrade due to the performance issues? You are not experiencing the issues with 4.4.1?

    Not sure I follow… I just updated from 3.11.2 to 4.4.1 which as of 6 days ago was the latest version.

    The performance and errors existed on 3.11.2 and updating to 4.4.1 had no affect (so I highly doubt 4.4.2 which just came out will help any).

    As for when the errors occur, I’m not able to provide any additional information. I visited pages, home, sidebar events, single events, reoccurring events, etc and the error logs aren’t showing anything so I’m not sure when/where these errors occur or how to trigger them.

    in reply to: WordPress database errors, Slow performance and Slow Errors #1234718
    Matt
    Participant

    This reply is private.

    in reply to: Google Maps JS Conflict #1110611
    Matt
    Participant

    I think I have found a way around this for my particular site, but I’d still like a response in regards to this.

    Thanks!

    Matt
    Participant

    #2 Reply

    I believe I have narrowed it down to a theme conflict of some kind. The Ajax week reload is working with default genesis loaded and no other changes made.

    With the child theme active the ajax advancing has no function and no JS error.

    Matt
    Participant

    Reply to #1

    1. Do you mean that simply reverting the version numbers has wholly resolved the issue of the dates being messed up? So that, for example, your event at http://fbca1.thrivenetmarketing.com/event/awaken-service-2/2014-02-02/ suddenly gets the right date and the right Permalink reflecting that? If this is not what you mean, please be very specific about what the difference is between versions.

    Yes, that’s the conclusion I hoped you arrived at.

    The Event used for Example:

    The third event down, “Awaken Service” is a reoccurring event set for “August 16, 2015 @ 9:30 am – 10:30 am”.

    The URL in the broken state:

    The URL is inexplicably: http://fbca1.thrivenetmarketing.com/event/awaken-service-2/2014-02-02/

    Explanation as to why this is the incorrect URL:

    Which seems wrong given it’s a 2015 event in august not a 2014 event in February.

    Based on that, I’m not at all surprised I’m getting a “This Event Has passed” error and all of the details are wrong and for the 2014 event.

    Confirmation that this specific part of the problem is resolved with version sync:

    This issue seems to be resolved now that the versions are back in sync.

    Matt
    Participant

    The Week view has actually gotten worse now that the versions are matched.

    Before the Week view would show all non reoccuring events.

    Now is doesn’t display any events and the back and previous buttons do nothing. Clicking previous or next doesn’t appear to trigger any URL change or ajax reload. But tough to say since there are no events being displayed.

    Matt
    Participant

    1. What version of The Events Calendar is currently active on your site?

    Version should be 3.11.1. Just discovered at some point someone recently updated the plugin to 3.11.2. Yet another issue with your plugin… you just have to know the undocumented (on site) intricacies of how this plugin works and are required to keep two separate plugins at the same versions – all the while the plugin tells you to update. This is super confusing, the update the system tells you to get actually just breaks things…

    Side Note: It seems programmatically simple to run a check to see if the PRO plugin is installed/active and to check versions against that and don’t offer the update notice unless both can be updated. Or, give the user a notice if the versions are out of sync. Or better yet… stop requiring two separate plugins and make the PRO version stand alone. Any of the above would prevent this, I’m sure this is a fairly common issue since it was the #1 and #2 questions.

    I have manually downgraded back to 3.11.1. Both plugins now have the same version.

    This appears to have fixed the reoccurring issue described below. The Week event view is still broken.

    2. What version of Events Calendar Pro is currently active on your site?

    Version 3.11.1

    3. Is our Eventbrite Tickets add-on active on your site? And if so: what version is active?

    Not installed.

    4. What version of WordPress itself is your site running?

    Latest: 4.2.4

    Finally, for now:

    5. Can you explain exactly what you mean about this statement of yours: “This is probably because their dates are all messed up in the system.”

    I went into more detail on the other linked ticket:

    ALL reoccurring events are broken on the site. For example:

    Main Events Page: http://fbca1.thrivenetmarketing.com/events/

    The third event down, “Awaken Service” is a reoccurring event set for “August 16, 2015 @ 9:30 am – 10:30 am”.

    The URL is inexplicably: http://fbca1.thrivenetmarketing.com/event/awaken-service-2/2014-02-02/

    Which seems wrong given it’s a 2015 event in august not a 2014 event in February.

    Based on that, I’m not at all surprised I’m getting a “This Event Has passed” error and all of the details are wrong and for the 2014 event.

    This is what I meant by the dates are messed up in the system. This issue seems to be resolved now that the versions are back in sync.

    Matt
    Participant

    The events appear to have been imported successfully the second attempt and no longer getting the DB error.

Viewing 15 posts - 1 through 15 (of 41 total)