JS error in backend after updating to WordPress 5.9
-
After updating WordPress to latest 5.9, the reordering of posts stopped working. On doing drag&drop, the following Javascript error shows up in the console:
sortable.min.js?ver=1.13.0:9 Uncaught TypeError: Cannot read properties of undefined (reading 'vertical') at x.<computed>.<computed>._intersectsWithPointer (sortable.min.js?ver=1.13.0:9:9868) at x.<computed>.<computed>.r.<computed> (core.min.js?ver=1.13.0:116:958) at x.<computed>.<computed>.r.<computed> [as _intersectsWithPointer] (core.min.js?ver=1.13.0:116:958) at x.<computed>.<computed>._mouseDrag (jquery.mjs.nestedSortable.js?ver=2.0.0:271:25) at x.<computed>.<computed>.r.<computed> [as _mouseDrag] (core.min.js?ver=1.13.0:116:958) at x.<computed>.<computed>._mouseStart (sortable.min.js?ver=1.13.0:9:4334) at x.<computed>.<computed>.r.<computed> (core.min.js?ver=1.13.0:116:958) at x.<computed>.<computed>.r.<computed> [as _mouseStart] (core.min.js?ver=1.13.0:116:958) at x.<computed>.<computed>._mouseMove (mouse.min.js?ver=1.13.0:9:2340) at x.<computed>.<computed>.r.<computed> (core.min.js?ver=1.13.0:116:958)
Seems to be related to the update of jqueryui to 1.13.0. Meanwhile jquery 1.13.1 was released, which fixes two issues of sortable.
Wordpress already has taken care of this issue and as announced here, should be fixed with the upcoming WordPress 5.9.1
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘JS error in backend after updating to WordPress 5.9’ is closed to new replies.