• Hi, after switching to PHP 8.2, I found the following in my debug log file (there are many similar to this one):

    [25-Mar-2023 16:56:29 UTC] PHP Deprecated: Creation of dynamic property WP_Members::$woo is deprecated in /home/inno/www/wp-content/plugins/wp-members/includes/class-wp-members.php on line 386

    Could this cause any issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    It won’t cause an issue. It’s a deprecated method, but not yet obsolete.

    It should be addressed in the next release. If you want to try out the next release beta, you can go to https://www.ads-software.com/plugins/wp-members/advanced/ and under “Previous Versions” select the “Development Version” to download. That is a beta of 3.4.7, which should be released soon.

    Thread Starter islp

    (@islp)

    Ok, thank you

    Plugin Author Chad Butler

    (@cbutlerjr)

    Update to this: Most, if not all, instances of dynamic object properties have been addressed in version 3.4.7.

    However, note that there are a lot of plugins that you’ll find this same issue with (which I have noticed during compatibility testing of PHP 8.2). As I noted, it’s a deprecation notice, not an error, so it will not affect execution. But depending upon what other plugins you run, you may find similar notices related to other plugins.

    Thread Starter islp

    (@islp)

    Hi Chad, thanks. It’s not only a plugin matter: there are deprecations of this kind coming from the same WP core. WP officially supports 7.4, anyway, NOT 8.2 and partially some versions in between.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deprecation in debug.log’ is closed to new replies.