This thread is resolved. Here is a description of the problem and solution.
Problem:
The client encountered a PHP deprecation warning in the WPML Multilingual CMS plugin, specifically with the
strtotime()
function, indicating 'Passing null to parameter #1 ($datetime) of type string is deprecated'. This occurred while using WordPress Version 6.7, PHP Version 8.2, Plugin Version 4.6.14, and WooCommerce Version 9.4.2.
Solution:
We explained that the deprecation notice is not a fatal error and will not affect the PHP's ability to complete tasks on the site. This type of warning typically indicates that the way a function is used will be removed in future PHP versions. We assured the client that in future versions of WPML, this warning will be resolved.
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at WPML Support Forum.
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.