• Resolved jaloin

    (@funnypurple)


    Hi there,

    I’m using the Site Reviews plugin (v7.2.13) and noticed that it is triggering repeated PHP warning messages in the admin area:

    PHP Warning: Attempt to read property "post_status" on null in wp-admin/includes/template.php on line XXXX

    These warnings seem to be caused by code that attempts to access the $post object when it’s null — possibly in a metabox or admin screen hook. It would be great if you could add a simple check like:

    if ( isset($post) && $post instanceof WP_Post )

    This would prevent unnecessary warnings from appearing in the error logs. The issue doesn’t break the site, but it does clutter the logs.

    Thanks for the great plugin and your ongoing work!

Viewing 1 replies (of 1 total)
  • Plugin Contributor Paul

    (@pryley)

    Can you please provide the full PHP warning message (with line numbers)?

    Also, can you try to disable all of your the plugins except for Site Reviews to see if you still get the PHP warnings? I want to rule out any compatibility issues.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.