• Resolved nadine

    (@ninablue)


    Hello MainWP team,

    I just updated one of my child sites to PHP 8.2 and I see this deprecated notice when debugging is turned on.

    Deprecated: Creation of dynamic property MainWP\Child\MainWP_Child_Branding::$child_branding_options is deprecated in /var/www/wordpress__4/wp-content/plugins/mainwp-child/class/class-mainwp-child-branding.php on line 61

    Can you please fix this?

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Bojan Katusic

    (@bojankatusic)

    Hi @ninablue

    Thanks for reporting this to us.

    The development team will take a closer look and I’ll update you via this thread as soon as I have more information.

    Thread Starter nadine

    (@ninablue)

    Ok, thank you. Waiting for your feedback on this.

    Plugin Support Bojan Katusic

    (@bojankatusic)

    Hi @ninablue

    We will make changes in the next version of the MainWP Dashboard to address this notice.

    Also worth mentioning is that we couldn’t reproduce it, so it is likely an isolated edge case.

    Thanks again for bringing this to our attention.

    Thread Starter nadine

    (@ninablue)

    Hi @bojankatusic ,

    Thank you for your reply. While the mentioned deprecation seems to be fixed, there are still some other deprecations. Can you please make sure that these deprecations will be fixed too?

    Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/wordpress__4/wp-content/plugins/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php on line 1900

    Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/wordpress__4/wp-content/plugins/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php on line 3361

    Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/wordpress__4/wp-content/plugins/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php on line 3362

    Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/wordpress__4/wp-content/plugins/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php on line 3511

    Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/wordpress__4/wp-content/plugins/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php on line 3512

    Deprecated: Using ${var} in strings is deprecated, use {$var} instead in?/var/www/wordpress__4/wp-content/plugins/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php?on line?3512

    Thank you and best

    Thread Starter nadine

    (@ninablue)

    Hi @bojankatusic ,

    are the deprecation fixes in scope for the next release?

    Thanks and best

    Plugin Support Bojan Katusic

    (@bojankatusic)

    Hi @ninablue

    Yes, we will address those Deprecated warnings in the next version of the plugin.

    I experienced the same errors if the Updraft extension is active.
    PHP 8.2

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Compatibility with PHP 8.2’ is closed to new replies.