-
Notifications
You must be signed in to change notification settings - Fork 44
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
TypeError: Cannot read property 'allWordpressPage' of undefined #2
Comments
Do you have Wordpress installed? Does it have REST API enabled. This looks to me like Gatsby is not connecting your Wordpress, you need to double check that. |
I have installed wordpress on my local machine and gatsby folder inside worpresss installation...everything worked normally, but when i added gatsby-node.js, page.js and post.js, this error started showing up |
Hmmm, can you try and pin point the file that is causing problems and then paste the code here so I can take a look see. Or maybe just paste all three files if you can't pin point the one that is causing problems. |
Hello. Same problem here.
I reinstalled WordPress on my local machine (using proxy),but still not working and receiving this type of error.
Everything works fine in command line - mean, that fetching from url works well |
I'm running into this issue right now as well, and it looks like the reason I can't connect is because axios throws an error about a self-signed certificate on my localhost. changing to my local vhost and baseURL to http solved my issue. |
I had the same issue, the reason was that in plugins -> options -> |
I followed your tutorial and i cant get past this graphql error? Even when i clone your repo, results are same...
The text was updated successfully, but these errors were encountered: