• 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 WCS_Email_Completed_Renewal_Order::$heading_downloadable is deprecated in /var/www/wordpress__4/wp-content/plugins/woocommerce-payments/vendor/woocommerce/subscriptions-core/includes/emails/class-wcs-email-completed-renewal-order.php on line 38

    Deprecated: Creation of dynamic property WCS_Email_Completed_Renewal_Order::$subject_downloadable is deprecated in /var/www/wordpress__4/wp-content/plugins/woocommerce-payments/vendor/woocommerce/subscriptions-core/includes/emails/class-wcs-email-completed-renewal-order.php on line 40

    Deprecated: Creation of dynamic property WCS_Email_Completed_Switch_Order::$heading_downloadable is deprecated in /var/www/wordpress__4/wp-content/plugins/woocommerce-payments/vendor/woocommerce/subscriptions-core/includes/emails/class-wcs-email-completed-switch-order.php on line 38

    Deprecated: Creation of dynamic property WCS_Email_Completed_Switch_Order::$subject_downloadable is deprecated in /var/www/wordpress__4/wp-content/plugins/woocommerce-payments/vendor/woocommerce/subscriptions-core/includes/emails/class-wcs-email-completed-switch-order.php on line 39

    A fix would be much appreciated. ??

Viewing 3 replies - 1 through 3 (of 3 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. A fix would be much appreciated.

    I see you’ve updated your site to PHP 8.2 and have come across some deprecated notices while debugging. I understand how this can be concerning and I’m here to help.

    The deprecated notices you’re seeing are warnings that certain parts of the code may no longer be in use in future versions. This is a ?? known compatibility issue with PHP 8.2 and higher versions, particularly related to the creation of dynamic properties in WooCommerce Services.

    I want to assure you that these warnings won’t directly affect your site’s functionality. However, I completely understand your concern and the need for a fix.

    Our development team is already on it, actively working towards a solution. While I can’t provide a specific timeline for resolution, I want you to know that it’s one of our top priorities.

    To keep you in the loop, I recommend following the discussion and progress of this issue on our GitHub page. By subscribing to the issue, you’ll get notifications about any updates or changes.

    I appreciate your patience and understanding as we work to fix this. Keeping your site updated and running smoothly is important to us. Please feel free to reach out if you have any other questions or need further assistance.

    Hello @bisratlearn

    I realize some other warnings on order-received page, please fix it:

    Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in?woocommerce-payments/includes/class-wc-payments-localization-service.php?on line?73

    Hi @vandung93

    I realize some other warnings on order-received page, please fix it:

    Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in?woocommerce-payments/includes/class-wc-payments-localization-service.php?on line?73

    I understand that you’re experiencing some additional warnings on your order-received page. I appreciate you bringing this to our attention.

    To ensure we provide the best support and keep things organized, we kindly ask that you start a ?? new topic in our support forum regarding this issue. This is in line with our ?? forum’s best practices and allows us to focus on your issue individually.

    By creating a new topic, it enables us to concentrate on your unique situation and provide the most accurate assistance. Additionally, it makes it easier for other users who might be facing the same problem to find and learn from the conversation.

    Please include as much detail as possible in your new post, including the specific warnings you are seeing. This will help us diagnose and resolve your issue more effectively.

    Thank you again for contacting us, and I look forward to assisting you further on the new topic.

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