select2.js error after updating to WooCommerce 3.0
-
Hi, we recently updated to WooCommerce 3.0 and are now getting a select2.js error coming from the WooCommerce Export Orders – PRO Plugin. This javascript error is appearing on the edit order page in the admin area, and is preventing us from being able to issue refunds via Stripe. We have had to disable the plugin for now.
Here’s a sample console error:
select2.js:934 Uncaught Error: Option ‘ajax’ is not allowed for Select2 when attached to a <select> element.
at String.<anonymous> (select2.js:934)
at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:2)
at constructor.prepareOpts (select2.js:932)
at constructor.prepareOpts (select2.js:2794)
at constructor.init (select2.js:690)
at HTMLSelectElement.<anonymous> (select2.js:3578)
at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:2)
at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:2)
at a.fn.init.$.fn.select2 (select2.js:3565)
at HTMLSelectElement.<anonymous> (wc-enhanced-select.min.js:1)
(anonymous) @ select2.js:934
each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:2
prepareOpts @ select2.js:932
prepareOpts @ select2.js:2794
init @ select2.js:690
(anonymous) @ select2.js:3578Please advise when this issue is resolved. If you require additional information / logging info I’m happy to help.
Thank you!
- The topic ‘select2.js error after updating to WooCommerce 3.0’ is closed to new replies.