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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-08:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Bobby 4 months, 3 weeks ago.

Assisted by: Bobby.

Author Posts
June 21, 2024 at 1:59 pm #15775831

doronY

Background of the issue:
I am trying to: Hi. Im getting this, I use php 8.1. [20-Jun-2024 10:15:18 UTC] PHP Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /public_html/wp-content/plugins/sitepress-multilingual-cms/classes/emails/notification/summary/class-wpml-tm-jobs-summary-report.php on line 60. Link to a page where the issue can be seen: hidden link

Symptoms:
PHP Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /public_html/wp-content/plugins/sitepress-multilingual-cms/classes/emails/notification/summary/class-wpml-tm-jobs-summary-report.php on line 60

Questions:
How can I resolve the deprecated error in the debug log?

June 21, 2024 at 11:26 pm #15779548

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi there,

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'

Please go to Plugins and share with me the version of WPML you are currently using.

June 24, 2024 at 5:50 am #15802697

doronY

I use Version 4.6.11

June 24, 2024 at 8:33 pm #15811353

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

The topic ‘[Closed] bug in degub log’ is closed to new replies.