Problem:
Customer was seeing this upon enabling the debug mode:
[php]
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in (...)
[/php]
Solution:
We are in the process of cleaning deprecation notes to make Toolset fully compatible with PHP 8.1+.
Some deprecation notices are expected in this process.
For now you can just hide the notices as everything seems to be working ok.
Please access your website files and edit the "wp-config.php" file on the root folder of your WordPress installation and add the code below into the file:
[php]
define( 'WP_DEBUG', false );
[/php]
Please add the code above the line below:
[php]/* That's all, stop editing! Happy blogging. */[/php]
That will turn off the logging you have mentioned and you can continue using your website.