Conflict with Yoast SEO and Select2
-
When reordering post items in Select field, the new order doesn’t get saved. Console outputs the following error.
Uncaught TypeError: Cannot read property 'element' of undefined at HTMLLIElement.<anonymous> (acf-input.min.js?ver=5.9.7:3) at Function.each (jquery.min.js?ver=3.5.1:2) at s.fn.init.each (jquery.min.js?ver=3.5.1:2) at HTMLUListElement.stop (acf-input.min.js?ver=5.9.7:3) at x.<computed>.<computed>._trigger (core.min.js?ver=1.12.1:116) at x.<computed>.<computed>._trigger (sortable.min.js?ver=1.12.1:9) at x.<computed>.<computed>.x.isFunction.r.<computed> [as _trigger] (core.min.js?ver=1.12.1:116) at x.<computed>.<computed>._clear (sortable.min.js?ver=1.12.1:9) at x.<computed>.<computed>.x.isFunction.r.<computed> [as _clear] (core.min.js?ver=1.12.1:116) at x.<computed>.<computed>._mouseStop (sortable.min.js?ver=1.12.1:9)
Issue is resolved by temporarily deactivating Yoast SEO.
- The topic ‘Conflict with Yoast SEO and Select2’ is closed to new replies.