Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 -
- - - - - - -

Supporter timezone: Pacific/Easter (GMT-05:00)

This topic contains 0 replies, has 1 voice.

Last updated by desireeM 5 months, 2 weeks ago.

Assisted by: Ilyes.

Author Posts
June 18, 2024 at 12:25 pm #15748912

desireeM

Background of the issue:
Error from woocommerce-multilingual/inc/class-wcml-emails.php:
$email->heading_downloadable = $translate( 'heading_downloadable' );
$email->subject_downloadable = $translate( 'subject_downloadable' );

Dynamic properties are deprecated since PHP 8.2 (which means all currently actively supported versions give a warning for this hidden link).

Symptoms:
Creation of dynamic property WC_Email_Customer_Completed_Order::$heading_downloadable is deprecated.
Creation of dynamic property WC_Email_Customer_Completed_Order::$subject_downloadable is deprecated.

Questions:
Fix WCML please