16.7 bug with ACF post object field
- [ ✔️] I've read and understood the contribution guidelines.
- [✔️ ] I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened.
After updating a site to Yoast 16.7 (latest version) the client was unable to move ACF post object fields around. After checking it comes up with a javascript error. Upon saving the post, the post objects revert to their original position. I downgraded to an earlier version (16.3) and everything works as it should so have remained at this plugin version for now.
Please describe what you expected to happen and why.
You can reorder these posts and upon saving, their state saves.
How can we reproduce this behavior?
- Create a post object field
- Add some posts, save the page
- Try and re-order the posts
Technical info
See screenshot of js error.
- If relevant, which editor is affected (or editors):
- [ ✔️] Classic Editor
- [ ] Gutenberg
- [ ] Classic Editor plugin
- Which browser is affected (or browsers):
- [ ✔️] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Other
Used versions
-
WordPress version: 5.7.2
-
Yoast SEO version: 16.7
- Gutenberg plugin version:
- Classic Editor plugin version:
-
Relevant plugins in case of a bug: ACF Pro 5.9.8 but also tried downgrading that to 5.9 to see if it was that plugin

-
Tested with theme:
Duplicate of https://github.com/Yoast/wordpress-seo/issues/17171