• Resolved panfren

    (@panfren)


    After updating the site PHP from 7.4 to 8.1 I get a lot of these warnings:

    PHP Warning: Attempt to read property “ID” on int in /mysite.com/public_html/wpcontent/plugins/jetpack/modules/sharedaddy/sharing-sources.php on line 972

    (line no. varies).

    I did not have such warnings with PHP 7.4.
    What can be causing them?
    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @panfren,

    Thank you for reporting this issue.

    You are currently on the latest version of Jetpack, which is great.

    Based on the error you shared, I can tell that those warnings are being caused by something the Jetpack Sharing module/feature is trying to do.

    Please note that PHP warning errors are minor and don’t stop code execution or break your site.

    That said, if you can please report/log this on the public GitHub repository, that would be a great help:

    https://github.com/Automattic/jpop-issues/issues/new/choose

    Regards.

    Thread Starter panfren

    (@panfren)

    Hello, and thanks for your reply.
    Of course these are just warnings, not errors, but the security plugin I am using is flooding my e-mail with messages every 2 hours, which is annoying.
    I have turned php error logging to off to avoid them, but of course this is far from an ideal solution.
    I will report the issue to github.
    Kind regards.

    • This reply was modified 2 years, 3 months ago by panfren.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP warnnings after 8.1 update’ is closed to new replies.