AdvancedCustomFields / AdvancedCustomFields/acf
Duplicating a 'group' field is throwing a JS error
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
When trying to duplicate a group field, before saving the page, it throws a JS error, like shown below:

When saving the page before duplicating, it works. But again, if I save the page, duplicate a field, and duplicate that same field without saving, I get the same error.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or exact JavaScript error text is named. Reproduce the reported sequence with a group field—duplicate it twice without saving—and trace the affected field-duplication entry point; done means repeated duplication no longer throws the reported error before saving.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100