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

Missing GraphQL queries (like allWordpressPage) when using this starter #45

Closed
mladenp opened this issue Jul 26, 2019 · 3 comments
Closed

Comments

@mladenp
Copy link

mladenp commented Jul 26, 2019

When i run this starter in GraphQL i am missing a lot of queries and i also get build errors like:
Cannot query field "allWordpressPage" on type "Query". Did you mean "allSitePage"?

But when i start with gatsby-default-starter and add gatsby-source-wordpress i can see all of those missing queries.

@DiMaNacho
Copy link

@mladenp you found a solution? I have the same issue a few months ago.

@mladenp
Copy link
Author

mladenp commented Sep 12, 2019

No, i couldn't figure out whats wrong.

@chmac
Copy link
Collaborator

chmac commented Sep 12, 2019

There was a breaking change introduced by the core Gatsby WordPress plugin which was deployed on a minor version update. Unfortunately that means that in the normal process of keeping your site up to date, this gets broken. More info on #36. I'll close this issue as a probable duplicate of that one. There are some solutions / workarounds there. Essentially you need to change some names in the queries.

@chmac chmac closed this as completed Sep 12, 2019
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

3 participants