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 settings can't be queried?

See original GitHub issue

It appears there is some sort of regression with settings from WordPress.

Trying to query:

{
  wp {
    generalSettings {
      title
    }
  }
}

Doesn’t work. It says that a databaseId and uri are required input for querying the wp field.

Screen Shot 2020-11-24 at 9 57 33 AM

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
TylerBarnescommented, Mar 1, 2021

This is fixed in gatsby-source-wordpress@4.0.4!

1reaction
jasonbahlcommented, Feb 24, 2021

@TylerBarnes interesting. In my case this is the filters post type for documenting WPGraphQL filters: https://www.wpgraphql.com/filters/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inherit query from template issues - WordPress.org
It doesn't inherit the query settings from the currently used template (which makes sense, since the query loop block likely lives on the...
Read more >
Query Loop Block – WordPress.com Support
The Query Loop block allows you to display posts based on parameters you specify. This block is similar to the Latest Posts Block,...
Read more >
WordPress: How to Fix Common Server and Connection Errors
Confirm that your credentials match. If they do not, your WordPress PHP files will not be able to connect to your database and...
Read more >
Three techniques to alter the query in WordPress
Howdy WP developer! In this snippet, I will describe three different techniques to alter the WordPress default query with an example showing how...
Read more >
How to Fix the Error Establishing a Database Connection in ...
The 'Error establishing a database connection' issue can be caused by incorrect database information in your WordPress settings, ...
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