[3.0] Error: Option ‘ajax’ is not allowed for Select2
-
WooCommerce 3.0 uses Select2 v4 due to the many fixes and enhancements added since Select2 v3. This version is however incompatible with v3.
If a plugin/theme loads the old Select2 v3, there will be a conflict and you’ll see an error in your console such as this:
Error: Option ‘ajax’ is not allowed for Select2
Functions that rely on JavaScript may be broken as a result. To fix, disable the plugin/theme loading the old version of Select2 and contact the author.
To check the error console, in Chrome go to View > Developer > Javascript Console.
Developers/theme authors should read this to make products compatible:
- The topic ‘[3.0] Error: Option ‘ajax’ is not allowed for Select2’ is closed to new replies.