wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

16.7 bug with ACF post object field

Open hazardawareness opened this issue 5 years ago • 1 comments

  • [ ✔️] 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?

  1. Create a post object field
  2. Add some posts, save the page
  3. 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 CleanShot 2021-07-19 at 10 28 28

  • Tested with theme:

hazardawareness avatar Jul 19 '21 02:07 hazardawareness

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

Djennez avatar Jul 19 '21 06:07 Djennez