Problem after update WordPress 6.0.3
-
Below warnings are appearing after the WordPress update.
Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/test/public_html/wp-includes/formatting.php on line 5395
$string = preg_replace( ‘@<(script|style)[^>]*?>.*?</\\1>@si’, ”, $string );Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/test/public_html/wp-includes/formatting.php on line 3473
if ( strlen( $email ) < 6 ) {Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/test/public_html/wp-includes/pluggable.php on line 599
$password = trim( $password );How to fix it?
The topic ‘Problem after update WordPress 6.0.3’ is closed to new replies.