• Resolved alaid

    (@alaid)


    Hi,

    I have WordPress 6.5.3 and WooCommerce 8.9.1 installed and the plugin Stock Manager for WooCommerce presents a PHP Error.

    Message: Creation of dynamic property Stock_Manager_Admin::$page is deprecated

    Location:

    wp-content/plugins/woocommerce-stock-manager/admin/class-stock-manager-admin.php:31
    Stock_Manager_Admin->__construct()
    wp-content/plugins/woocommerce-stock-manager/admin/class-stock-manager-admin.php:65
    Stock_Manager_Admin::get_instance()
    wp-includes/class-wp-hook.php:324
    do_action('plugins_loaded')
    wp-settings.php:550

      Message: Creation of dynamic property Stock_Manager_Admin::$product_id is deprecated

      Location:

      wp-content/plugins/woocommerce-stock-manager/admin/class-stock-manager-admin.php:34
      Stock_Manager_Admin->__construct()
      wp-content/plugins/woocommerce-stock-manager/admin/class-stock-manager-admin.php:65
      Stock_Manager_Admin::get_instance()
      wp-includes/class-wp-hook.php:324
      do_action('plugins_loaded')
      wp-settings.php:550

        Thanks for your attention.

      Viewing 2 replies - 1 through 2 (of 2 total)
      • Plugin Author storeapps

        (@storeapps)

        @alaid,

        As checked, the warning messages are related to PHP v8.0.0. But, it will not affect the plugin functionality in any way.

        Stock Manager for WooCommerce plugin is not compatible with the PHP v8.0.0. However, we have taken note of it and will keep you posted.

        Plugin Support storeapps-support

        (@storeappsorg)

        @alaid

        Would like to update you that we have released a new update to the plugin [i.e, v3.1.0] which consists of a fix for ‘Creation of dynamic property Stock_Manager_Admin::$page and Stock_Manager_Admin::$product_id are deprecated in PHP v8.0.0+’ issue along with other important updates and fixes.

        Request you to update the plugin to the latest version and let us know your views.

      Viewing 2 replies - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.