Title: Select2 library error
Last modified: March 9, 2024

---

# Select2 library error

 *  [iowebgr](https://wordpress.org/support/users/iowebgr/)
 * (@iowebgr)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/select2-library-error/)
 * Hello,
 * we are experiencing a js error with the Select2 library when using the contains
   selector for product title. More specifically the error is this:
 * `Uncaught Error: Option 'multiple' is not allowed for Select2 when attached to
   a <select> element.`
 * This prevents the plugin to create the text input field that allows the user 
   to enter the search terms for the product titles.
 * We are using the latest version of the plugin. Do you have any idea of what might
   be going on?
 * Best regards
    -  This topic was modified 2 years, 3 months ago by [iowebgr](https://wordpress.org/support/users/iowebgr/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * (@elextensions)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/select2-library-error/#post-17489942)
 * Hello [iowebgr](https://wordpress.org/support/users/iowebgr/)(@iowebgr),
 * Thank you for reaching out to us. The error you’re encountering may stem from
   a compatibility conflict with a third-party plugin on your website. To troubleshoot
   this, I suggest conducting a compatibility test on your staging site. Deactivate
   all plugins except ours and WooCommerce, and temporarily switch your theme to
   the default WooCommerce theme. After completing these steps, check whether the
   issue persists.
 * Additionally, could you please provide the WordPress and WooCommerce versions
   currently running on your store? This information will give us in better understanding
   and resolving the issue.
 * We look forward to hearing from you.

Viewing 1 replies (of 1 total)

The topic ‘Select2 library error’ is closed to new replies.

 * ![](https://ps.w.org/elex-bulk-edit-products-prices-attributes-for-woocommerce-
   basic/assets/icon-256x256.png?rev=2802405)
 * [ELEX WooCommerce Bulk Edit Products, Prices & Attributes (Basic)](https://wordpress.org/plugins/elex-bulk-edit-products-prices-attributes-for-woocommerce-basic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elex-bulk-edit-products-prices-attributes-for-woocommerce-basic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elex-bulk-edit-products-prices-attributes-for-woocommerce-basic/)
 * [Active Topics](https://wordpress.org/support/plugin/elex-bulk-edit-products-prices-attributes-for-woocommerce-basic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elex-bulk-edit-products-prices-attributes-for-woocommerce-basic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elex-bulk-edit-products-prices-attributes-for-woocommerce-basic/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/select2-library-error/#post-17489942)
 * Status: not resolved