Title: select2 is not a function
Last modified: October 29, 2020

---

# select2 is not a function

 *  [Kevin Hagerty](https://wordpress.org/support/users/khag7/)
 * (@khag7)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/select2-is-not-a-function/)
 * On the WordPress dashboard, the Simple History widget runs some javascript. The
   following error is being thrown:
 * Uncaught TypeError: $elms.filter_user.select2 is not a function
    /wp-content/
   plugins/simple-history/dropins/SimpleHistoryFilterDropin.js?ver=2.37.2 Line: 
   154 Column: 23
 * Any thoughts as to why this would be?

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

 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/select2-is-not-a-function/#post-13620014)
 * Thanks for the bug report. I don’t see this errors on any of my sites so my guess
   is that it’s because of a conflict with some other plugin. Can you disable all
   other plugins and see if it works then and/or can you post a list of your active
   plugins here so maybe I can take a look?
 *  [galerapublicidad](https://wordpress.org/support/users/galerapublicidad/)
 * (@galerapublicidad)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/select2-is-not-a-function/#post-13739364)
 * Same to us, selecting “show search options” produces no effect.
 * Console: `Error: No select2/compat/initSelection`
 * Our active plugins:
 * Adapta RGPD
    Bizum WooCommerce Bridge Core Broken Link Checker Carousel Slider
   Checkout Manager for WooCommerce Code Snippets Contact Form 7 Contact Form 7 
   Multilingual Enable Media Replace Envato Market EWWW Image Optimizer Health Check&
   Troubleshooting LayerSlider WP Metricool PixelYourSite Popup Maker Preview E-
   mails for WooCommerce Product Feed PRO for WooCommerce Redirection Redsys WooCommerce
   Regenerate Thumbnails Simple History Slider Revolution UpdraftPlus – Backup/Restore
   WooCommerce WooCommerce Extended Coupon Features FREE WooCommerce Multilingual
   WooCommerce PDF Invoices & Packing Slips Wordfence Security WP-Optimize – Clean,
   Compress, Cache WPBakery Page Builder WPML Multilingual CMS WPML String Translation
   WPML Translation Management Yoast SEO

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

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

 * ![](https://ps.w.org/simple-history/assets/icon.svg?rev=3225008)
 * [Simple History – Track, Log, and Audit WordPress Changes](https://wordpress.org/plugins/simple-history/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-history/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-history/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-history/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-history/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-history/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [galerapublicidad](https://wordpress.org/support/users/galerapublicidad/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/select2-is-not-a-function/#post-13739364)
 * Status: not resolved