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 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 1 reply, has 0 voices.

Last updated by Carlos Rojas 16 hours, 38 minutes ago.

Assisted by: Carlos Rojas.

Author Posts
December 3, 2024 at 9:54 am #16470668

mohammedA-111

Background of the issue:
I encountered a PHP deprecation warning while using the WPML Multilingual CMS plugin. The error indicates 'Passing null to parameter', which is discouraged in PHP 8.2 and later. The specific error is: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in plugins/sitepress-multilingual-cms/classes/emails/notification/summary/class-wpml-tm-jobs-summary-report.php on line 60. I was using WordPress Version 6.7, PHP Version 8.2, Plugin Version 4.6.14, and WooCommerce Version 9.4.2.

Symptoms:
PHP deprecation warning related to 'Passing null to parameter' in the WPML Multilingual CMS plugin.

Questions:
Is there an update or workaround for the WPML Multilingual CMS plugin to address this issue?

December 3, 2024 at 12:17 pm #16471564

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

As it’s a deprecation notice rather than a fatal error, this won’t be affecting PHP’s ability to complete tasks on your site.

This usually comes up when a feature or way a function is being used is being removed from a future version of PHP, in this case, 'strtotime'

In future versions of WPML this warning will go away 🙂

Regards,
Carlos