• Hello,

    After upgrading to PHP 8.1/8.2, I am encountering the following error repeatedly:


    2023/10/13 01:25:50 [error] 121021#121021: *200890 FastCGI sent in stderr: “PHP message: PHP Warning: Attempt to read property “ID” on null in /www/domain/public/wp-content/plugins/slim-seo/src/MetaTags/Robots.php on line 88″ while reading response header from upstream, client: 59.120.13.151, server: cio, request: “GET /account/edit-account/ HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.2-fpm-domain.sock:”, host: “domain:15994”, referrer: “https://domain/”

    Do you have any possible insights?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Hi @yangsheep ,

    Thanks for your feedback. After checking this code, I see it come from the get_post() function on a singular page, which is totally valid.

    I wonder there might be something that unusual on your site. Can you share a URL to the page that causes error?

    Hello,

    This is the “ACCOUNT” page of “JNEWS,” which is not public but rather a personal page accessible to registered users only.

    Plugin Author Anh Tran

    (@rilwis)

    Hi @yangsheep ,

    Can you please try this fix to see if it works on your site?

    Hello,

    After changing the code, I was able to reproduce the error on my computer, and it no longer displays an ERROR message. This error typically occurs every one to two hours. I will continue to monitor it, and I’ll get back to you tomorrow to let you know if it still happens.

    Thank you very much.

    Sorry, I realized I didn’t respond to the message.

    This fix works.

    Thank you very much.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error Warnings Encountered After PHP Upgrade’ is closed to new replies.