Help Desk

Select2 JS error with city multi-select filter

  • Posts: 1 Topics: 2
    | Permalink

    – Using ‘Event Category’ and ‘City’ fields in Filter Bar
    – When using ‘multi-select’ and ‘dropdown’, respectively, everything works ok
    – When setting the City field to be ‘multi-select’, however, a JavaScript error is triggered
    – City list still loads when typing first character although no AJAX request is sent

    Hi. We have an issue using the ‘multi-select’ option with the City filter in the Filter Bar plugin. As detailed above, everything works fine with the standard ‘dropdown’ field but when we switch the City to be ‘multi-select’, we get a Select2 JavaScript error (see screenshot).

    When clicking on the text box to enter a city, the spinner appears and the JavaScript error fires. Interestingly, the city search still works if you then continue to type a character and select a city. You can click a city and it will be added to the list although no AJAX request is sent and no filtering occurs on the front-end.

    As an additional note; we have over 1,000 events in the system (most with venues) but when I navigate to Events > Venues, there are none listed even though the count can clearly be seen (see screenshot).

    Thanks for your help.

    • This topic was modified 11 months, 1 week ago by  netzstrategen.
    Posts: 6966 Topics: 2
    | Permalink

    Hello Dominik,

    Thanks for reaching out to us.

    We are aware of this issue and have already shipped a fix for this with our maintenance release yesterday.

    I see that you have some older versions of our plugins. Please update them – after a full site and database backup – and check if you are still having the issue.


    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 ‘Select2 JS error with city multi-select filter’ is closed to new replies.