• Latest plugin (v3.29.0) return deprecated errors in debug.log

    [04-Feb-2024 10:28:00 UTC] PHP Deprecated: Creation of dynamic property YITH_WCWL::$wcwl_frontend is deprecated in /wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl.php on line 69
    [04-Feb-2024 10:28:00 UTC] PHP Deprecated: Creation of dynamic property YITH_WCWL::$wcwl_cron is deprecated in /wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl.php on line 72
    [04-Feb-2024 10:28:00 UTC] PHP Deprecated: Creation of dynamic property YITH_WCWL::$wcwl_session is deprecated in /wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl.php on line 75

    Can you fix it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    Hi there,
    thank you for opening this topic.

    Currently our plugin is not fully compatible with PHP 8.2, we’ve just release the compatibility until PHP 8.1. Once we release an update for PHP 8.2 those warning will go away.

    Have a great day.

    zoltanc

    (@zoltanc)

    Hello there,

    We are encountering similar issues on our WooCommerce site with the Yith Wishlist plugin, as identified through Query Monitor. The plugin is generating multiple deprecated PHP errors, such as:

    Plugin: yith-woocommerce-wishlist
    Message: Creation of dynamic property YITH_WCWL::$wcwl_frontend is deprecated
    Location:

    wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl.php:69 WPForms\ErrorHandler->error_handler() wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl.php:69 YITH_WCWL->__construct() wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl.php:53 YITH_WCWL::get_instance() wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl.php:1101 YITH_WCWL() wp-content/plugins/yith-woocommerce-wishlist/init.php:120 yith_wishlist_constructor() wp-includes/class-wp-hook.php:324 do_action('yith_wcwl_init') wp-content/plugins/yith-woocommerce-wishlist/init.php:141 yith_wishlist_install() wp-includes/class-wp-hook.php:324 do_action('plugins_loaded') wp-settings.php:506

    and similar ones:
    Creation of dynamic property YITH_WCWL::$wcwl_cron is deprecated - wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl.php:72


    Creation of dynamic property YITH_WCWL::$wcwl_session is deprecated - wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl.php:75


    Creation of dynamic property YITH_WCWL::$wcwl_admin is deprecated - wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl.php:79

    Given the nature of these errors, we’re curious if they might be attributed to compatibility issues with newer PHP versions. If so, it would be helpful to know if an update or correction is planned and, if possible, an estimated timeline for its release.

    We appreciate any insights or assistance you can provide in resolving these issues.

    Best regards,
    Zoltán

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello @zoltanc ,
    we hope you’re doing well!

    At the moment our plugin is compatible up to php 8.1, but with php 8.2 it works without problems, you will just see some notices related to our plugin, but you can don’t worry. It is planned to make it fully compatible with PHP 8.2, but there is no estimated date for this.

    If you have any other questions, let us know.

    Best regards.

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