gridsome / gridsome/gridsome-starter-wordpress

TypeError: Cannot destructure property `status` of 'undefined' or 'null'.

Open
#22 16 comments 3 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
92
Forks
30
PR merge metrics
No merged PRs in 30d

Description

I am trying to fetch data from wordpress site, located on [subdomain](https://woo.islamibakaev.ru/) of my personal site.

I have created `.env` file in the root directory of project, inside which i have added
`WORDPRESS_URL=https://woo.islamibakaev.ru/`

On `yarn develop` i get this output in terminal
```
yarn run v1.17.3
$ gridsome develop
Gridsome v0.7.3

Initializing plugins...
Loading data from https://woo.islamibakaev.ru
TypeError: Cannot destructure property `status` of 'undefined' or 'null'.
at WordPressSource.fetch (/home/devellopah/projects/vue/vue-wordpress/node_modules/@gridsome/source-wordpress/index.js:169:40)
at process._tickCallback (internal/process/next_tick.js:68:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
```
Please help to figure out the issue. Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.