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

gatsby-source-wordpress fails to get Yoast data #23626

Closed
garryburch opened this issue Apr 30, 2020 · 2 comments
Closed

gatsby-source-wordpress fails to get Yoast data #23626

garryburch opened this issue Apr 30, 2020 · 2 comments
Assignees
Labels
status: needs core review Currently awaiting review from Core team member status: needs reproduction This issue needs a simplified reproduction of the bug for further troubleshooting. topic: source-wordpress Related to Gatsby's integration with WordPress type: bug An issue or pull request relating to a bug in Gatsby

Comments

@garryburch
Copy link

Description

During gatsby develop for local dev and gatsby build on Netlify for production/live site

Path: /wp-json/yoast/v1/indexation/posts?per_page=100&page=1
The server response was "404 Not Found"
Inner exception message: "No route was found matching the URL and request method"

Steps to reproduce

Updated Yoast Premium to Version 14.0 above error occurs
Reverted back to Yoast Premium Version 12.1 works

Expected result

The ability to work with yoast_meta: { ... }

Actual result

Above error, the build completes yet every page has the same Meta information

Environment

System:
OS: Linux 5.3 Ubuntu 19.10 (Eoan Ermine)
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Shell: 5.0.3 - /bin/bash
Binaries:
Node: 10.13.0 - ~/.nvm/versions/node/v10.13.0/bin/node
Yarn: 1.22.4 - /usr/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v10.13.0/bin/npm
Languages:
Python: 2.7.17 - /usr/bin/python
Browsers:
Firefox: 75.0
npmPackages:
gatsby: ^2.15.34 => 2.19.5
gatsby-background-image: ^0.8.15 => 0.8.19
gatsby-image: ^2.2.25 => 2.2.39
gatsby-plugin-google-tagmanager: ^2.1.13 => 2.1.24
gatsby-plugin-layout: ^1.1.11 => 1.1.21
gatsby-plugin-manifest: ^2.2.21 => 2.2.38
gatsby-plugin-netlify: ^2.1.19 => 2.1.31
gatsby-plugin-offline: ^2.2.5 => 2.2.10
gatsby-plugin-postcss: ^2.1.11 => 2.1.19
gatsby-plugin-react-helmet: ^3.1.11 => 3.1.21
gatsby-plugin-react-svg: ^2.1.2 => 2.1.2
gatsby-plugin-sass: ^2.1.18 => 2.1.27
gatsby-plugin-sharp: ^2.2.32 => 2.4.0
gatsby-plugin-sitemap: ^2.2.17 => 2.2.26
gatsby-source-filesystem: ^2.1.31 => 2.1.46
gatsby-source-wordpress: ^3.1.41 => 3.1.58
gatsby-transformer-sharp: ^2.2.21 => 2.3.13
npmGlobalPackages:
gatsby-cli: 2.11.7

@garryburch garryburch added the type: bug An issue or pull request relating to a bug in Gatsby label Apr 30, 2020
@pieh pieh added topic: source-wordpress Related to Gatsby's integration with WordPress status: needs core review Currently awaiting review from Core team member labels Apr 30, 2020
@pieh pieh changed the title gatsby-source-wordpress gatsby-source-wordpress fails to get yoast data Apr 30, 2020
@pieh pieh changed the title gatsby-source-wordpress fails to get yoast data gatsby-source-wordpress fails to get Yoast data Apr 30, 2020
@TylerBarnes
Copy link
Contributor

Hi @garryburch !

Sorry to hear you're running into an issue. To help us best begin debugging the underlying cause, it is incredibly helpful if you're able to create a minimal reproduction. This is a simplified example of the issue that makes it clear and obvious what the issue is and how we can begin to debug it.

If you're up for it, we'd very much appreciate if you could provide a minimal reproduction and we'll be able to take another look.

Additionally, I want to make sure you know we're working on a new major version of gatsby-source-wordpress which uses WPGraphQL instead of the REST api. There are too many unavoidable issues with the REST api since it's an untyped source. You can read more about it here #19292.

Thanks for using Gatsby! 💜

@TylerBarnes TylerBarnes added the status: needs reproduction This issue needs a simplified reproduction of the bug for further troubleshooting. label May 1, 2020
@TylerBarnes TylerBarnes self-assigned this May 1, 2020
@danabrit
Copy link
Contributor

danabrit commented Jun 2, 2020

Closing this issue due to no reproduction within 7 days. If you would like to re-open it with a minimal reproduction, we'd be happy to take a look. Thank you!

@danabrit danabrit closed this as completed Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs core review Currently awaiting review from Core team member status: needs reproduction This issue needs a simplified reproduction of the bug for further troubleshooting. topic: source-wordpress Related to Gatsby's integration with WordPress type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

4 participants