wordpress - Error: Option 'ajax' is not allowed for Select2 when attached to a element - After version upgrade to 3.1.2 -
recently have updated wocommerce version 3.1.2. fetching problem when going add variable product or editing variable product. showing "uncaught error: option 'ajax' not allowed select2 when attached element.
" js error when selecting product attribute or variation.
uncaught error: option 'ajax' not allowed select2 when attached <select> element. @ string.<anonymous> (ultimate-woocomposer-backend.min.js:1) @ function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-position,jquery-ui&load[]=-menu,wp-a11y,jquery-ui-autocomplete,underscore,backbone,wp-util,wp-backbone,media-models,plupload,jquery-ui-tooltip&ver=4.8.1:2) @ d.prepareopts (ultimate-woocomposer-backend.min.js:1) @ d.prepareopts (ultimate-woocomposer-backend.min.js:2) @ d.init (ultimate-woocomposer-backend.min.js:1) @ htmlselectelement.<anonymous> (ultimate-woocomposer-backend.min.js:2) @ function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-position,jquery-ui&load[]=-menu,wp-a11y,jquery-ui-autocomplete,underscore,backbone,wp-util,wp-backbone,media-models,plupload,jquery-ui-tooltip&ver=4.8.1:2) @ a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-position,jquery-ui&load[]=-menu,wp-a11y,jquery-ui-autocomplete,underscore,backbone,wp-util,wp-backbone,media-models,plupload,jquery-ui-tooltip&ver=4.8.1:2) @ a.fn.init.a.fn.select2 (ultimate-woocomposer-backend.min.js:2) @ htmlselectelement.<anonymous> (wc-enhanced-select.min.js:1)
see screenshot below;
i have googled problem no solution found, of them saying bug (i not sure).
please resolve problem.
regards
Comments
Post a Comment