This appears to maybe be caused by the array_merge_recursive() within WPObjectType and WPInterfaceType that implements fields from Interfaces onto implementing Interfaces and Object types.
Additionally, there appears to be some recursive functions that could bail early within WPGraphQL for ACF.
The issue seems closely related to:
Group field types
Clone field types
Interface fields being applied to other Interfaces / Object Types
Description
When an ACF Field Group is cloned onto many different ACF Field Groups, the schema fails to load.
Steps to reproduce
Import the following ACF Field Groups export: dev-site-acf-backup2.json
Try to load the GraphiQL IDE
Expectation: IDE loads and I can browse the schema and test queries, etc
Actual: IDE fails to load the schema and outputs the following errors:
PHP or JSON export of the ACF Field Group(s)
dev-site-acf-backup2.json (also referenced above)
Additional context
This appears to maybe be caused by the
array_merge_recursive()
within WPObjectType and WPInterfaceType that implements fields from Interfaces onto implementing Interfaces and Object types.Additionally, there appears to be some recursive functions that could bail early within WPGraphQL for ACF.
The issue seems closely related to:
related:
193
WPGraphQL Version
1.23.0
WPGraphQL For ACF Version
2.22.0
ACF (Advanced Custom Fields) Version. Free or Pro?
6.2.7 (pro)
WordPress Version
6.5.2
PHP Version
8.2
Additional enviornment details
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.