-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
type: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Description
Description
When an ACF Field Group is cloned in a flexible content layout, the Schema fails to load if "prefix field names" is not selected.
Steps to reproduce
In a "vanilla" WordPress install with ACF Pro, WPGraphQL and WPGraphQL for ACF:
- Import the field groups provided in a .zip below
- Open GraphiQL
- See that the Schema Loads
- Search "AcfFieldGroup" in the Schema docs and see "PrimaryFieldGroup" and "SecondaryFieldGroup" as groups that implement the interface
- In the "Cloned Group" field within the "Primary Field Group" flexible content layout, disable the "Prefix Field Names" setting and save.
- Open GraphiQL again
- See that the Schema no longer loads
PHP or JSON export of the ACF Field Group(s)
acf-export-2024-02-14.json.zip
Additional context
No response
WPGraphQL Version
1.21.0
WPGraphQL For ACF Version
2.1.1
ACF (Advanced Custom Fields) Version. Free or Pro?
6.2.2 PRO
WordPress Version
6.4.3
PHP Version
8.2
Additional enviornment details
No response
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.
- Yes
- My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.
Metadata
Metadata
Assignees
Labels
type: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior

