• Resolved HelgaTheViking

    (@helgatheviking)


    The following notice appears in the admin with PHP 8.2

    >Deprecated: Creation of dynamic property Alg_WC_Admin_Bar_Addition::$core is deprecated in /app/wp-content/plugins/admin-bar-addition-for-woocommerce/includes/class-alg-wc-admin-bar-addition.php on line 107

    In PHP 8.3 this will likely produce a fatal error.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter HelgaTheViking

    (@helgatheviking)

    FYI – this can be resolved by declaring the core property in the Alg_WC_Admin_Bar_Addition main class like so:

    /**
     * Core class
     * @var Alg_WC_Admin_Bar_Addition_Core
     * 
     * @since 1.4.0
     */
    public $core = null;

    PR sent

    Abd Hindi

    (@abdhindi97)

    Hello Helga,

    I hope you are well. Thank you for your message. I will forward this to the development team to look into this and try to solve this in the new version.

    Thank you for your time and effort.

    Plugin Author Algoritmika

    (@algoritmika)

    Hi, @helgatheviking,

    Thank you.

    Please update the plugin to the latest v1.4.0 – the notice should be gone now.

    Thread Starter HelgaTheViking

    (@helgatheviking)

    thank you!

    Plugin Author Algoritmika

    (@algoritmika)

    Happy to help ?? Let me know if you notice anything else. And if you like the plugin, please consider leaving me a rating.

    Thread Starter HelgaTheViking

    (@helgatheviking)

    Done ??

    Plugin Author Algoritmika

    (@algoritmika)

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP 8.3 dynamic properties not allowed’ is closed to new replies.