Title: em_selectize is not a function
Last modified: November 4, 2025

---

# em_selectize is not a function

 *  [januszwpressa](https://wordpress.org/support/users/januszwpressa/)
 * (@januszwpressa)
 * [7 months ago](https://wordpress.org/support/topic/em_selectize-is-not-a-function/)
 * Hello.
 * I’m trying to fix a bug on the website above that prevents a search bar located
   here:
   [https://greenevo.gov.pl/pl/zielone-technologie/](https://greenevo.gov.pl/pl/zielone-technologie/)
   from working. Inspecting the page shows this:
 *     ```wp-block-code
       jQuery.Deferred exception: container.find(...).em_selectize is not a function em_setup_selectize@https://greenevo.gov.pl/wp-content/plugins/events-manager/includes/js/events-manager.js?ver=7.2.2.1:1887:94em_setup_ui_elements@https://greenevo.gov.pl/wp-content/plugins/events-manager/includes/js/events-manager.js?ver=7.2.2.1:353:20@https://greenevo.gov.pl/wp-content/plugins/events-manager/includes/js/events-manager.js?ver=7.2.2.1:340:22e@https://greenevo.gov.pl/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028Deferred/then/l/</t<@https://greenevo.gov.pl/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330setTimeout handler*Deferred/then/l/<@https://greenevo.gov.pl/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27594c@https://greenevo.gov.pl/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:25304fireWith@https://greenevo.gov.pl/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:26053fire@https://greenevo.gov.pl/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:26089c@https://greenevo.gov.pl/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:25304fireWith@https://greenevo.gov.pl/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:26053ready@https://greenevo.gov.pl/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:29112P@https://greenevo.gov.pl/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:28884EventListener.handleEvent*@https://greenevo.gov.pl/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:29264@https://greenevo.gov.pl/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:220@https://greenevo.gov.pl/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:225 undefined
       ```
   
 *     ```wp-block-code
       Uncaught TypeError: container.find(...).em_selectize is not a function    em_setup_selectize selectize.js:135    em_setup_ui_elements index.js:353    <anonymous> index.js:340    jQuery 13        e        t        setTimeout handler*Deferred/then/l/<        c        fireWith        fire        c        fireWith        ready        P        EventListener.handleEvent*        <anonymous>        <anonymous>selectize.js:135:94
       ```
   
 * Looking at the files of the currently used theme, I see em_selectize.js in the
   js folder. Not sure why I get this error then.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fem_selectize-is-not-a-function%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * (@joneiseman)
 * [7 months ago](https://wordpress.org/support/topic/em_selectize-is-not-a-function/#post-18707106)
 * I suspect it’s due to the use of two different versions of the jQuery library.
   The website is loading jquery-3.3.1.slim.min.js as well as jquery.min.js?ver=
   3.7.
 *  Thread Starter [januszwpressa](https://wordpress.org/support/users/januszwpressa/)
 * (@januszwpressa)
 * [7 months ago](https://wordpress.org/support/topic/em_selectize-is-not-a-function/#post-18709234)
 * Yeah I noticed in footer.php for the theme:
 *     ```wp-block-code
       <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
       ```
   
 * I’ll see if I can delete that line without damaging the website and see if the
   error is gone.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘em_selectize is not a function’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [januszwpressa](https://wordpress.org/support/users/januszwpressa/)
 * Last activity: [7 months ago](https://wordpress.org/support/topic/em_selectize-is-not-a-function/#post-18709234)
 * Status: not resolved