You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a flexible content field where I'm creating galleries and adding a "page_link" field to choose multiple pages for the gallery to be shown on. Since upgrading from wp-graphql-acf to wpgraphql-acf, it is always returning null rather than an array of page links.
I was working through the upgrade guide on a very spare site (mostly just ACF Pro 6.3.0.1, wpgql 1.26.0 and wpgql-acf at 2.2.0 on wp 6.5.3) and found a very similar thing; for a simple repeater, each a single image, attached via the options page (no post_id in the setup) I get the correct number of nodes (8 images in the repeater) under the correct/expected GQL structure, but all as null.
I have also had this problem, and found that the issue extends to both the File and Post Object field types. The file returns null, while the edges and node arrays inside the Post Object return empty.
Description
I have a flexible content field where I'm creating galleries and adding a "page_link" field to choose multiple pages for the gallery to be shown on. Since upgrading from wp-graphql-acf to wpgraphql-acf, it is always returning null rather than an array of page links.
Steps to reproduce
Possibly related to this
Import the field group json file
Populate some content
Query the field:
PHP or JSON export of the ACF Field Group(s)
Additional context
No response
WPGraphQL Version
1.23.0
WPGraphQL For ACF Version
2.2.0
ACF (Advanced Custom Fields) Version. Free or Pro?
Pro
WordPress Version
6.5.2
PHP Version
8.1.27
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.
The text was updated successfully, but these errors were encountered: