Error with ACF Update from 5.6.10 to 5.7.x
-
Hi, there’s an issue with ACF 5.7.x versions.
Current Plugin Version: 5.6.10
Tried Updating To: 5.7.12
Issue: On updating the plugin to 5.7.x, there’s an issue with select2 due to which empty dropdown is rendered instead of a list of posts in custom field.Issue Logged in Console:
`
Uncaught Error: Option ‘multiple’ is not allowed for Select2 when attached to a <select> element.
at String.<anonymous> (select2.full.min.js?ver=1.0.5:21)
at 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,moxiejs,plupload&ver=4.9.9:2)
at d.prepareOpts (select2.full.min.js?ver=1.0.5:21)
at d.prepareOpts (select2.full.min.js?ver=1.0.5:22)
at d.init (select2.full.min.js?ver=1.0.5:21)
at HTMLSelectElement.<anonymous> (select2.full.min.js?ver=1.0.5:22)
at 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,moxiejs,plupload&ver=4.9.9:2)
at 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,moxiejs,plupload&ver=4.9.9:2)
at a.fn.init.a.fn.select2 (select2.full.min.js?ver=1.0.5:22)
at initialize (acf-input.min.js?ver=5.7.12:3)
`
- The topic ‘Error with ACF Update from 5.6.10 to 5.7.x’ is closed to new replies.