Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User field stopped showing in GraphQL query #917

Open
lindseybradford opened this issue Jun 11, 2024 · 0 comments
Open

User field stopped showing in GraphQL query #917

lindseybradford opened this issue Jun 11, 2024 · 0 comments

Comments

@lindseybradford
Copy link

lindseybradford commented Jun 11, 2024

Describe the bug
User field type stopped surfacing populated values to GraphQL

To Reproduce
Steps to reproduce the behavior:

  1. Add a User Field Type to a Field Group that appears on Posts
  2. In a post, add a user to the field and save
  3. Refresh and see that the user is visibly saved to the field
  4. Go to GraphQL IDE and query for the field group + user field on the post
  5. See that the query returns null or empty [] array

Expected behavior
The saved user value should show in the GraphQL query and not just the post editing interface

Screenshots or Video
https://www.loom.com/share/4af11b22f39745909505d3635c1b0750?sid=c1e06f9d-f83d-4e62-97ec-f92e51577e84

Code
acf-export-2024-06-11.json

Version Information:

  • WPEngine hosted [PAID]
  • WordPress Version [6.4.3]
  • PHP Version [8.0.2]
  • ACF Version [ACF Free 6.3.1]
  • WPGraphQL for ACF [2.2.0]
  • WPGraphQL [1.27.0]
  • Browser [Chrome 125.0.6422.142]

Additional context
This was working about a week ago? Sometime, roughly in the past 2 weeks, it stopped on all authors but one. One user comes through to the query—the rest don't. All plugins above were updated to latest today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant