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

TypeError: _props$pageContext.page is null #23

Open
puertasdigitales opened this issue Oct 10, 2020 · 3 comments
Open

TypeError: _props$pageContext.page is null #23

puertasdigitales opened this issue Oct 10, 2020 · 3 comments

Comments

@puertasdigitales
Copy link

TypeError: _props$pageContext.page is null
FrontPage
node_modules/gatsby-wordpress-theme-phoenix/src/templates/front-page/index.js:10

This is shown at the browser (no error at gatsby server).
It seems that the wordpress content is not properly set.

Regarding point 6 of installation:
6 - Add the ACF required data on the Home page from WordPress Dashboard.
This is not much precise. I've setup main page, menus and some posts, but something could be missing.

In order to check what the problem is, I think it would be fine if you can provide a backup of your wordpress demo site (posts, pages, images, etc.) so we can reproduce exactly your site for testing.

Thx

@ndabd001
Copy link

ndabd001 commented Dec 4, 2020

Would really need an update on this, Im having the same issue

@don-dev
Copy link

don-dev commented Mar 27, 2021

Same.

@don-dev
Copy link

don-dev commented Mar 28, 2021

I fixed it by adjusting the slug on the front page to "home", if you look at front-page.js, the graphql queries by this slug

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