Help Desk

Filter Bar Times Out

  • Posts: 15 Topics: 7
    | Permalink

    We are having the same exact issue as described here:

    https://theeventscalendar.com/support/forums/topic/filter-bar-times-out/

    The console shows this error:

    TEC Debug: tribe_ev.fn.setup_ajax_timer fired with a timeout of \"500\" ms

    and this error:

    TEC Debug: tribe_ev.fn.serialize returned these params: \"tribe_eventcategory%5B%5D=180"

    after the AJAX request completes. My network tab shows the call to admin-ajax.php as successful, sending this form data:

    action: tribe_list
    featured: false
    hash	: f13df1ddfbf405aa57eff447771e981d
    is_recurrence_list: false
    tribe_event_display: list
    tribe_eventcategory%5B%5D: 180
    tribe_paged: 1

    and this JSON array as a response:

    html: {too long to post, but contains events}
    success: true
    max_pages: 6
    hash	: f13df1ddfbf405aa57eff447771e981d
    tribe_paged: 1
    total_count: 57
    view	: list

    When choosing any filter, the AJAX loading icon does appear, and then disappears without ever updating the events visible. Or if it does update, it’s the same unfiltered events shown previously. We just updated to the latest version of the plugin today:
    The Events Calendar – 4.6.15
    The Events Calendar Pro – 4.4.26
    The Events Calendar: Community Events – 4.5.11
    The Events Calendar: Filter Bar – 4.5.5

    To better test and make sure it isn’t on our end, we reverted to the twentyseventeen theme, and have disabled all plugins except for those listed above. We are also up-to-date on WordPress core (4.9.5). This worked before the upgrade.

    Posts: 15 Topics: 7
    | Permalink

    After reviewing a working version against this update, we noticed that on the call to ajax-admin.php, one of the passed parameters is not turning into a object as it should, and contains url encoded brackets []…

    On the non-working version, we pass this parameter:

    tribe_eventcategory%5B%5D: 1662

    And on a working version we pass this:

    tribe_eventcategory[]: 1662

    And if multiple categories are select, the non-working version still looks like (only shows the last ID checked):

    tribe_eventcategory%5B%5D: 1665

    Where the working version looks like this (an object with all checked IDs):

    tribe_eventcategory[]: {
    0: 1662
    1: 1665
    }
    Posts: 6978 Topics: 2
    | Permalink

    Hey Michael,

    Thanks for reaching out and sorry about this issue.

    And thanks for already narrowing it down to the basics, much apprecited.

    You said:

    This worked before the upgrade.

    Which upgrade are you referring to here? This info might help us hunt down the source.

    If you roll back, to the previous version, does it work fine?

    Can you share a URL where we can see this issue?

    Thanks,
    Andras

    Posts: 6978 Topics: 2
    | Permalink

    Just read some other reports on a similar issue.

    The suggested workaround was to roll back to previous versions of The Events Calendar (4.6.14.1) and Events Calendar PRO (4.4.25).

    A.

    Posts: 15 Topics: 7
    | Permalink

    Do we have a time frame on when this bug will be fixed?

    Posts: 6978 Topics: 2
    | Permalink

    Hey Michael,

    If it is the bug I suspect it is, that is scheduled to be released sometime next week.

    Cheers,
    Andras

    Posts: 6978 Topics: 2
    | Permalink

    Hi Michael,

    This issue was fixed a couple months back, I do hope it is also working for you now.

    Would appreciate a quick feedback.

    Cheers,
    Andras

    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