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

Repeated PHP Warnings on Property Access in wp-graphql-yoast-seo.php #166

Open
laurent-le-graverend opened this issue Dec 12, 2023 · 0 comments

Comments

@laurent-le-graverend
Copy link

We are encountering frequent PHP warnings in our logs when using the gatsby-source-wordpress plugin. These warnings are cluttering the logs and raising concerns about potential underlying issues.

To Reproduce
Steps to reproduce the behavior:

  1. Configure the gatsby-source-wordpress plugin.
  2. Trigger a crawl/data fetch operation.
  3. Observe multiple instances of the following PHP warning in the logs:
    PHP Warning: Attempt to read property "schema" on bool in /var/www/wordpress/wp-content/plugins/add-wpgraphql-seo/wp-graphql-yoast-seo.php on line 871
    (Reference: wp-graphql-yoast-seo.php#L871)

Additional context
We are seeking clarification on whether this warning is expected behavior or indicative of a configuration error on our end. Furthermore, we'd like to know if this is something that should be addressed within the plugin to prevent such warnings.

Thank you for your attention to this matter and for your work on this plugin!

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

1 participant