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 existing data that I cannot retrieve from ACF via WPGraphQL. Specifically, the productImage field, nested within two repeaters, is returning null when images are saved.
Steps to reproduce
I'm not sure if the conditional element matters or the styled layout of the repeater fields, so here is everything from my experience that caused the issue:
Create a field group called "Sale" that applies to a Post's category
Add a repeater field to the field group called "Categories" with a layout of Block
Add a checkbox field to the Categories field group called "Category Name" with a pre-filled choice list
Add a repeater field called "Products" with a layout of Table inside the Categories repeater
Add a true/false field inside the Products repeater called "Popular"
Add an image field called "Product Image" that conditionally appears only when the "Popular" true/false field's value is true (checked) with a return format of Image URL
Create a Post, select the given category, "Sale," that will populate the "Products" field group
Make a set of 5 products with some popular and some not popular. For products that are popular, add an image
Description
I have existing data that I cannot retrieve from ACF via WPGraphQL. Specifically, the productImage field, nested within two repeaters, is returning null when images are saved.
Steps to reproduce
I'm not sure if the conditional element matters or the styled layout of the repeater fields, so here is everything from my experience that caused the issue:
example query:
example query variables:
PHP or JSON export of the ACF Field Group(s)
acf-export-2024-09-16.zip
Additional context
No response
WPGraphQL Version
1.28.1
WPGraphQL For ACF Version
2.4.1
ACF (Advanced Custom Fields) Version. Free or Pro?
Pro 6.3.6
WordPress Version
6.6.2
PHP Version
8.3.8
Additional enviornment details
additional plugins
coding environment
Front end framework: Nextjs
package.json
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: