This thread is resolved. Here is a description of the problem and solution.
Problem:
After upgrading to PHP 8.3.x, you are encountering a PHP Deprecation notice on Toolset Types 3.5.2. The notice indicates that the return type of OTGSToolsetCommonUtilsRecursiveDotFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice.
Solution:
We recommend disabling the debug mode in WordPress to prevent these warnings from being displayed to your visitors. This can be achieved by editing your wp-config.php file and ensuring it includes the following line:
define('WP_DEBUG_DISPLAY', false);
For more information on handling deprecated errors in PHP 8.2 and up, please visit our errata page: https://wpml.org/errata/php-8-2-deprecated-creation-of-dynamic-property-whip_requirementscheckerconfiguration-is-deprecated/
Additionally, you can refer to the official WordPress.org website for a general explanation on handling deprecation notices: https://make.wordpress.org/core/2022/01/10/wordpress-5-9-and-php-8-0-8-1/
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we 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. If needed, please open a new support ticket at WPML support forum for further assistance.
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.
This topic contains 3 replies, has 2 voices.
Last updated by 5 months ago.
Assisted by: Mihai Apetrei.