Skip to content

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

@laurent-le-graverend

Description

@laurent-le-graverend

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions