• Resolved Joe

    (@joewa1980)


    Hi guys. Just a quick heads up for you on the current PHP Warnings in our error log from RCP using PHP 8.1. These are easily fixed but it’d be better to have them patched in a release if possible, thanks!

    [09-May-2022 03:46:50 UTC] PHP Warning: Attempt to read property "ID" on null in /mywebsite.com/wp-content/plugins/restrict-content-pro/includes/content-filters.php on line 24
    [09-May-2022 03:46:50 UTC] PHP Warning: Attempt to read property "ID" on null in /mywebsite.com/wp-content/plugins/restrict-content-pro/includes/content-filters.php on line 132
    [10-May-2022 22:16:19 UTC] PHP Warning: Undefined array key "item_name" in /mywebsite.com/wp-content/plugins/restrict-content-pro/includes/gateways/class-rcp-payment-gateway-paypal.php on line 363
    [10-May-2022 22:16:19 UTC] PHP Warning: Undefined array key "item_number" in /mywebsite.com/wp-content/plugins/restrict-content-pro/includes/gateways/class-rcp-payment-gateway-paypal.php on line 363

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor highprrrr

    (@highprrrr)

    Thanks @joewa1980 !!

    Our plugin definitely does not support PHP 8.0 yet (I don’t believe that WordPress even supports it yet) but we are actively looking for 8.0 related bugs so we can be ready for 8.0 as soon as possible.

    People like you reporting this stuff is a huge help! I’ll get this sent over to the developer.

    Thanks again!
    -James

    Plugin Contributor highprrrr

    (@highprrrr)

    One quick question, are these showing up in your logs as soon as the page is loaded or are you doing anything on the front/back end to trigger them?

    Thread Starter Joe

    (@joewa1980)

    We have a busy production site with 750 members in and out all day so it’s difficult to pinpoint.

    We’ve had great success with PHP 8.1 fortunately and have only found PHP warnings of future depreciations rather than any groundbreaking errors or issues.

    If anything else comes to light I’ll give you a shout.

    Plugin Contributor highprrrr

    (@highprrrr)

    Awesome, thanks again!

    Thread Starter Joe

    (@joewa1980)

    And this one…

    [12-May-2022 10:59:52 UTC] PHP Warning: Attempt to read property "ID" on null in /mywebsite.com/wp-content/plugins/restrict-content-pro/includes/admin/admin-actions.php on line 50

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Warnings (PHP 8.1)’ is closed to new replies.