Using Toolset with PHP 8.1.23, I get these errors:
PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /wp-includes/formatting.php on line 1608
PHP Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/formatting.php on line 2274
Hi there,
We are still in the process of handling all deprecation messages in Toolset and for now, even WordPress does not fully support the 8.1.X version of PHP.
The messages you have mentioned do not have any effect on the current workflow of Toolset as it is a message that in the upcoming updates of PHP, the function is used might not work.
So for now we suggest that you do not display the deprecation messages in WordPress wp-config.php
define('WP_DEBUG', false);
define('WP_DEBUG_LOG', false);
define('WP_DEBUG_DISPLAY', false);
Thanks.