question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wordpress tutorial is broken?

See original GitHub issue

Description

Following the wordpress tutorial results in errors.

Steps to reproduce

follow this tutorial exactly from a fresh start: https://www.gatsbyjs.org/tutorial/wordpress-source-plugin-tutorial/

Expected result

the tutorial should use the gatsby-source-wordpress to source content from the default wordpress site.

Actual result

here is the results from a gatsby build after adding the tutorials example gastsby-config.js:

https://gist.github.com/joshuacox/22a34a8b88c64842438ebec1a09a604d

Environment


  System:
    OS: Linux 5.4 Arch Linux
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    Shell: 5.7.1 - /usr/bin/zsh
  Binaries:
    Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
    Yarn: 1.19.2 - ~/.nvm/versions/node/v10.16.3/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v10.16.3/bin/npm
  Languages:
    Python: 3.8.0 - /usr/bin/python
  Browsers:
    Firefox: 71.0
  npmPackages:
    gatsby: ^2.18.8 => 2.18.8 
    gatsby-image: ^2.2.34 => 2.2.34 
    gatsby-plugin-manifest: ^2.2.31 => 2.2.31 
    gatsby-plugin-offline: ^3.0.27 => 3.0.27 
    gatsby-plugin-react-helmet: ^3.1.16 => 3.1.16 
    gatsby-plugin-sharp: ^2.3.5 => 2.3.5 
    gatsby-source-filesystem: ^2.1.40 => 2.1.40 
    gatsby-source-wordpress: ^3.1.53 => 3.1.53 
    gatsby-transformer-sharp: ^2.3.7 => 2.3.7 
  npmGlobalPackages:
    gatsby-cli: 2.8.14

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
Lc0rEcommented, Jan 13, 2020

I’ll wrap up my previous attempts to make it work, and I’ll report back (if the issue is still there). Thanks for the PR with the updated tutorial!

1reaction
Lc0rEcommented, Jan 9, 2020

I’m glad I’m not the only one having those issues trying to use WP along with Gatsby. I’d really appreciate a step-by-step tutorial on how to integrate WP with gatsby because this is driving me nuts!

Also, it looks like someone is solving the 401 errors by editing the .htaccess file. For those who, like me, are using Valet to start a local WP this is not a solution. Maybe this could be also part of a reviewed tutorial.

Looking forward to updates about this issue (and migrating to another CMS till then 😛)!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gutenberg WordPress - How to fix your broken website
Gutenberg WordPressIn this WordPress Gutenberg tutorial, I show you how to fix your website after WordPress 5 Gutenberg install.
Read more >
How To Fix Broken Links In WordPress - Complete Tutorial
Try WP Link Status here: https://www.shoutmeloud.com/recommended/WP-Link-Status/It's is a great alternative to broken link checker WordPress ...
Read more >
Broken Plugin or Bad Shortcode | WordPress Tutorial - YouTube
If you see some extra code output in WordPress pages or posts or in content in WordPress, it is probably due to any...
Read more >
How To Fix a Broken WordPress Site - WP Apprentice
Watch the video to learn how to overcome this all to common problem and restore your site in just a matter of minutes....
Read more >
Tutorial: Host a WordPress blog on Amazon Linux 2
Tutorial to install, configure, and secure a WordPress blog on your EC2 instance. ... My public DNS name changed and now my blog...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found