• Resolved rruyter

    (@rruyter)


    Hello,
    I noticed a few PHP deprication messages in my debug logs.

    Just wondering when these will get fixed.

    PHP Deprecated: Creation of dynamic property WC_Custom_Stock_status::$stock_yoast_seo is deprecated in /xx/wp-content/plugins/woo-custom-stock-status/woo-custom-stock-status.php on line 80

    PHP Deprecated: Creation of dynamic property WC_Custom_Stock_status::$stock_yith_wishlist is deprecated in /xx/wp-content/plugins/woo-custom-stock-status/woo-custom-stock-status.php on line 77

    PHP Deprecated: Creation of dynamic property WC_Custom_Stock_status::$stock_wp_all_import is deprecated in /xx/wp-content/plugins/woo-custom-stock-status/woo-custom-stock-status.php on line 76

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Softound Solutions

    (@softound)

    We will check and fix the issues soon, Thanks

    Plugin Author Softound Solutions

    (@softound)

    The error has been fixed in version 1.5.2, Please update the plugin and check it.

    Thanks

    Thread Starter rruyter

    (@rruyter)

    Thanks. That fixed the above errors.

    Thread Starter rruyter

    (@rruyter)

    I did got a new deprecation warning after the update. But I do not know if this is related to the update.

    PHP Deprecated: Functie The woocommerce_stock_html filter is sinds versie verouderd! Gebruik in plaats daarvan woocommerce_get_stock_html. in /xxx/wp-includes/functions.php on line 6078

    Or in English:
    PHP Deprecated: Function The woocommerce_stock_html filter is deprecated since version! Use woocommerce_get_stock_html instead. in /xxx/wp-includes/functions.php on line 6078

    Thread Starter rruyter

    (@rruyter)

    Well, the file and line number traces back to a wp_trigger_error function, so that’s not helpful.

    Thread Starter rruyter

    (@rruyter)

    Oh well, the piece of code that is the reason for this message comes from my own functions file. So never mind my last posts. This is something I have to fix myself.

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