• Resolved nadine

    (@ninablue)


    Hello,

    I just updated one of my sites to PHP 8.2 and I receive some deprecated notices when debugging is turned on. Here they are.

    Deprecated: Creation of dynamic property WC_Connect_Tracks::$plugin_file is deprecated in /var/www/wordpress__4/wp-content/plugins/woocommerce-services/classes/class-wc-connect-tracks.php on line 20

    Deprecated: Creation of dynamic property WC_Connect_Account_Settings::$payment_methods_store is deprecated in /var/www/wordpress__4/wp-content/plugins/woocommerce-services/classes/class-wc-connect-account-settings.php on line 19

    Deprecated: Creation of dynamic property WC_Connect_TaxJar_Integration::$cache_time is deprecated in /var/www/wordpress__4/wp-content/plugins/woocommerce-services/classes/class-wc-connect-taxjar-integration.php on line 48

    Deprecated: Creation of dynamic property WC_Connect_TaxJar_Integration::$error_cache_time is deprecated in /var/www/wordpress__4/wp-content/plugins/woocommerce-services/classes/class-wc-connect-taxjar-integration.php on line 51

    Deprecated: Creation of dynamic property WC_Connect_Loader::$tracks is deprecated in /var/www/wordpress__4/wp-content/plugins/woocommerce-services/woocommerce-services.php on line 359

    Deprecated: Creation of dynamic property WC_Connect_Loader::$label_reports is deprecated in /var/www/wordpress__4/wp-content/plugins/woocommerce-services/woocommerce-services.php on line 515

    A fix would be much appreciated. 🙏

Viewing 1 replies (of 1 total)
  • Hi @ninablue

    I just updated one of my sites to PHP 8.2 and I receive some deprecated notices when debugging is turned on.

    From what I understand, you’re encountering deprecated notices after updating your site to PHP 8.2. This is related to the creation of dynamic properties in WooCommerce Services, which is a 👉 known compatibility issue with PHP 8.2 and higher versions.

    The deprecated notices you’re seeing are warnings that certain parts of the code are no longer recommended for use and may be removed in future versions. While these warnings do not directly affect the functionality of your site, we understand that they can be concerning.

    Our development team is already aware of this issue and is actively working on a solution. Unfortunately, I can’t provide a specific timeline for when this will be resolved. However, I can assure you that it is one of our top priorities.

    In the meantime, you can follow the discussion and progress of this issue on our GitHub page. By subscribing to the issue, you’ll receive notifications about any updates or changes.

    I understand the importance of keeping your site updated and running smoothly, and I appreciate your patience as we work to resolve this issue. If you have any other questions or need further assistance, please don’t hesitate to ask.

Viewing 1 replies (of 1 total)

The topic ‘Compatibility with PHP 8.2’ is closed to new replies.