Timothy Lindsay

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • in reply to: Site slow due to Events Calendar #1108132
    Timothy Lindsay
    Participant

    Thank you we do very much appreciate the help and appreciate every case is different. I’m sure it’s very challenging to keep on top of the endless number of possible site configurations with WordPress for sure!

    A couple of things to add since my last post. We have edited the Widget to remove the calendar function completely, so it only shows the list or events. This has helped a lot. Instead of slowing things down to 5.7 seconds it’s not around 3 seconds. Not ideal still but better.

    Here is the full site information for you (just to confirm we have tested for compatibilities issues but even if TEC is the only plugin running, the speed issues still materialise as soon as the widget is used on the page.

    Home


    SITE URL

    Home


    INSTALL KEYS
    events-calendar-pro = e22d43e6f984ed1878df4eef6372097660d826a4
    events-community = 11afc4fe2ad8a0f74819eb31de4109a95f9d3e4e
    tribe-filterbar = 8530d5ff1ee28771543820984804d586ffe9792a
    WORDPRESS VERSION
    4.5.1
    PHP VERSION
    5.5.32
    PLUGINS
    VaultPress version 1.8.1 by Automattic(http://vaultpress.com/?utm_source=author-uri&utm_medium=plugin-description&utm_campaign=1.0)
    Advanced Post Manager version 4.1.1 by Modern Tribe, Inc.(http://m.tri.be/4n)
    Auto approve comments for specific posts version 1.0.1 by Ioni(http://albastru.eu)
    Business Directory Plugin – Enhanced Categories Module version 3.6.1 by D. Rodenbaugh(http://businessdirectoryplugin.com)
    Business Directory Plugin – Claim Listings Module version 1.0.5 by D. Rodenbaugh(http://businessdirectoryplugin.com)
    Business Directory Plugin – Featured Levels Module version 3.6.6 by D. Rodenbaugh(http://www.skylineconsult.com)
    Business Directory Plugin – Google Maps Module version 4.0 by D. Rodenbaugh(http://businessdirectoryplugin.com)
    Business Directory Plugin version 3.7.5 by D. Rodenbaugh(http://businessdirectoryplugin.com)
    Business Directory Plugin – Ratings Module version 3.6.2 by D. Rodenbaugh(http://www.skylineconsult.com)
    Business Directory Plugin – ZIP Search Module version 3.6.5 by D. Rodenbaugh(http://businessdirectoryplugin.com)
    Anti-Spam by CleanTalk version 5.40.1 by СleanTalk (http://cleantalk.org)
    The Events Calendar PRO version 4.1.2 by Modern Tribe, Inc.(http://m.tri.be/20)
    Favicon by RealFaviconGenerator version 1.3.4 by Philippe Bernard(http://realfavicongenerator.net/)
    Favorites version 1.2.3 by Kyle Phillips(https://github.com/kylephillips)
    Jetpack by WordPress.com version 4.0.2 by Automattic(http://jetpack.com)
    WPBakery Visual Composer version 4.11.2 by Michael M – WPBakery.com(http://wpbakery.com)
    MyMail – Email Newsletter Plugin for WordPress version 2.1.11 by revaxarts.com(https://revaxarts.com)
    MyMail SendGrid Integration version 0.4.5 by revaxarts.com(http://revaxarts.com)
    Pageflip5 version 1.4 by Abel Vincze(http://iparigrafika.hu)
    Recipe Card version 1.1.7 by Yumprint(http://yumprint.com)
    tagDiv Social Counter version 3.1 by tagDiv(http://tagdiv.com)
    tagDiv Speed Booster version 4.2 by tagDiv(http://tagdiv.com)
    The Events Calendar: Community Events version 4.1.1 by Modern Tribe, Inc.(http://m.tri.be/21)
    The Events Calendar: Filter Bar version 4.1 by Modern Tribe, Inc.(http://m.tri.be/25)
    The Events Calendar version 4.1.2 by Modern Tribe, Inc.(http://m.tri.be/1x)
    Thumbs Rating version 3.0 by Ricard Torres(http://php.quicoto.com/)
    Ultimate Member version 1.3.50 by Ultimate Member(http://ultimatemember.com/)
    Ultimate Member – Social Login version 1.4.3 by Ultimate Member(http://ultimatemember.com/)
    Ultimate Member – WooCommerce version 1.0.9 by Ultimate Member(http://ultimatemember.com/)
    Advance Flat Rate Shipping Method For WooCommerce version 1.1.3 by Multidots(http://www.multidots.com/)
    WooCommerce version 2.5.5 by WooThemes(http://woothemes.com)
    Wordfence Security version 6.1.4 by Wordfence(http://www.wordfence.com/)
    Yoast SEO version 3.2.3 by Team Yoast(https://yoast.com/)
    WP Crontrol version 1.3 by John Blackbourn & Edward Dale
    wpMandrill version 1.33 by Mandrill(http://mandrillapp.com/)
    NETWORK PLUGINS

    MU PLUGINS

    THEME
    Mummys Gin Fund CHILD
    MULTISITE

    SETTINGS
    tribeEnableViews = Array
    (
    [0] => list
    [1] => month
    [2] => day
    [3] => map
    )
    schema-version = 4.1.2
    recurring_events_are_hidden = exposed
    previous_ecp_versions = Array
    (
    [0] => 0
    [1] => 3.10.1
    [2] => 3.12.3
    [3] => 3.12.5
    [4] => 3.12.6
    [5] => 4.0
    [6] => 4.0.5
    [7] => 4.0.7
    [8] => 4.1
    [9] => 4.1.1
    [10] => 4.1.1.1
    )
    latest_ecp_version = 4.1.2
    last-update-message = 4.1.2
    stylesheetOption = full
    tribeEventsTemplate =
    viewOption = day
    tribeDisableTribeBar = 1
    monthEventAmount = 3
    enable_month_view_cache = 1
    dateWithYearFormat = D jS
    dateWithoutYearFormat = D jS
    monthAndYearFormat = D jS
    dateTimeSeparator = @
    timeRangeSeparator = –
    datepickerFormat = 3
    tribeEventsBeforeHTML =
    tribeEventsAfterHTML =
    earliest_date = 2015-01-17 17:15:00
    latest_date = 2017-10-10 16:00:00
    disable_metabox_custom_fields = hide
    pro-schema-version = 4.1.2
    hideLocationSearch =
    hideRelatedEvents =
    week_view_hide_weekends =
    weekDayFormat = D jS
    donate-link =
    postsPerPage = 10
    liveFiltersUpdate =
    hideSubsequentRecurrencesDefault = 1
    userToggleSubsequentRecurrences =
    recurrenceMaxMonthsBefore = 1
    recurrenceMaxMonthsAfter = 1
    showComments =
    showEventsInMainLoop =
    multiDayCutoff = 00:00
    defaultCurrencySymbol = £
    reverseCurrencyPosition =
    embedGoogleMaps = 1
    geoloc_default_geofence = 25
    geoloc_default_unit = miles
    embedGoogleMapsZoom = 15
    debugEvents =
    custom-fields = Array
    (
    [8] => Array
    (
    [name] => _ecp_custom_8
    [label] => Age Groups
    [type] => checkbox
    [values] => Baby
    Toddler
    Older Child
    Adult
    )
    )

    custom-fields-max-index = 13
    events_filters_layout = horizontal
    events_filters_default_state = open
    eventsSlug = events
    singleEventSlug = event
    earliest_date_markers = Array
    (
    [0] => 7142
    )
    latest_date_markers = Array
    (
    [0] => 5297
    )
    WORDPRESS TIMEZONE
    Europe/London
    SERVER TIMEZONE
    UTC
    COMMON LIBRARY DIR
    /home/mummysginfund/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe
    COMMON LIBRARY VERSION
    4.1

    in reply to: Site slow due to Events Calendar #1107897
    Timothy Lindsay
    Participant

    I’m quite surprised that your response is that we have too many events, as I’ve been following other threads where EC staff have said they have seen sites with over 10,000 events working just fine. On further investigation we have found that the issue lies with the Events Calendar widgets, and in particular the on that displays the month view calendar. We have this running on the homepage and with it active, the sever response time is 5.7 seconds. When we remove the widget it improves to under 2 seconds.So there seems to be an issue with your widgets and in particular the calendar view? I’ve seen threads going back 2-3 years with the same issues, so is it correct that you’ve still not got on top of this issue? Do you have any advice as to how to trouble shoot this problem? Is it an issue with an SQL query? Any further help you can offer would be very much appreciated before we have to give up on Events Calendar. thanks

    in reply to: extra Additional Field option showing in Filter Bar #1038526
    Timothy Lindsay
    Participant
    in reply to: extra Additional Field option showing in Filter Bar #1037387
    Timothy Lindsay
    Participant

    Yep, that worked! Adding the old ‘Self’ option to the Additional Field again made the checkbox reappear in the event edit page, allowing me to uncheck it.

    Once I had updated all events in this way, the option disappeared from the Filter Bar.

    Luckily for me, we didn’t have many events that still had this option selected. It may have been a much bigger task otherwise. For that reason, I think it would be useful to have a feature where you can bulk edit Additional Fields. It’s reasonable to assume that the options in Additional Fields could change from time to time, and when they do, I may not want the old ones appearing in the Filter Bar.

    Could I make this a feature suggestion?

    in reply to: extra Additional Field option showing in Filter Bar #1037376
    Timothy Lindsay
    Participant

    Hi Brook, thanks for your reply. That makes total sense, and I did wonder whether this might be what was happening.

    Thing is, I did go to those events’ edit pages to have a look if this option was there for me to uncheck, and it wasn’t… there were only 4 checkboxes.

    I’m going to try going back to the Additional Field, add ‘Self’ as an option again, then go back to the event and look for the checkbox again.

    Timothy Lindsay
    Participant

    This reply is private.

    Timothy Lindsay
    Participant

    Hi Nico, yes, we tend to use WP Crontrol, not to be confused with the similarly named “WP Cron Control”.

    It seems the cron job is still running constantly, even after deleting a lot of events, and reducing our recurring event creation period.

    Oh, another thing to mention is that we are using WP_ALTERNATE_CRON due to server limitations. We will be moving to a new server later today that may support the standard wp cron. If so, we will see if it makes any difference.

    in reply to: JS error when using Filter Bar #1020847
    Timothy Lindsay
    Participant

    Hi, that seems to have done the trick – thanks!

    Timothy Lindsay
    Participant

    Hi Nico,

    Thanks for the explanation of how tribe_events_pro_process_recurring_events should work. That makes sense.

    We currently have 1,542 events in the database. I’m not sure exactly how many of those are originals and how many are recurrences though.

    We did have “Create recurring events in advance for” set to 24 months, however we changed this today to 12 months.

    If I look at a typical event, it’s recurring weekly, and the edit page is telling me “105 instances of this event have been created through Sep 30, 2017”.

    So I’m guessing rougly 1% of those 1,542 are originals, and the rest are recurrences.

    We’re wondering if deleting all events from 2016 onwards might help?

    The odd thing is, it seems the cron job *should* have finished it’s work by now, having created all recurrences in the original 24 month (now 12 month) period.

    Oh, we’re not using either of those filters you mentioned.

    in reply to: JS error when using Filter Bar #1019372
    Timothy Lindsay
    Participant

    Ah, turns out that fix is causing a PHP Warning:

    array_map(): Argument #2 should be an array

    Any ideas on how to fix this? A PHP Notice I could probably live with until the next release, but a PHP Warning not so much!

    Edited to add: refreshed the page and the warning didn’t show up this time. Will keep an eye on it.

    • This reply was modified 8 years, 6 months ago by Timothy Lindsay. Reason: extra info
    in reply to: JS error when using Filter Bar #1019228
    Timothy Lindsay
    Participant

    Hi George and Brian – thanks for your replies on this, and for the quick fix! Look forward to seeing this patch in a new release 🙂

    in reply to: JS error when using Filter Bar #1019004
    Timothy Lindsay
    Participant

    Update: Something I forgot to say in the original post: I’ve set the filter bar to be horizontal. And I’ve discovered that if I put the filter bar back to its vertical state, the options are expanded by default, and I can continue to use it! So it seems it hasn’t been rendered entirely useless then. And I can probably find a way to make sure it appears fully expanded on page load when in a horizontal state.

    However, it would still be good to get this issue cleared up.

    Timothy Lindsay
    Participant

    Perfect! Thanks again 🙂

    Timothy Lindsay
    Participant

    After reading up on removing actions, I’ve now also realised that I may need to hook up my own unhookings to another, later hook (if that makes any sense). Here’s what I’ve got so far:

    // remove default display of Tribe Filter Bar
    function removeTribeFilterBarDefaultDisplay() {
    error_log(‘Tribe filterbar unhook’);
    $filterClass = TribeEventsFilterView::instance();
    remove_action(‘tribe_events_before_template’, array($filterClass, ‘displaySidebar’), 25);
    remove_action(‘tribe_events_bar_after_template’, array($filterClass, ‘displaySidebar’), 25);
    }
    add_action(‘widgets_init’, ‘removeTribeFilterBarDefaultDisplay’);

    This isn’t working though, and there are now quite a few things that could be the problem. I feel like I’m really close though – I’d really appreciate any help you could give me!

    Timothy Lindsay
    Participant

    Well I’ve figured one thing out: I’m trying to remove the action in the wrong way. If the function being added is a class method (which, in this case, it is) then you have to remove the action in a specific way as documented here: http://codex.wordpress.org/Function_Reference/remove_action#Example

    I’ll try this first…

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