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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
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 6 months, 1 week 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