• ResolvedPlugin Author Mike Jolley (a11n)

    (@mikejolley)


    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:

    https://github.com/woocommerce/woocommerce/wiki/2.6.x-to-3.0.0-Developer-Migration-Notes#select2-version-4

  • The topic ‘[3.0] Error: Option ‘ajax’ is not allowed for Select2’ is closed to new replies.