Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array

96 Views Asked by At

The following error appears at the top and bottom of my wordpress blog:

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home//public_html/wp-includes/kses.php on line 1744

The line in question is this:

$content = preg_replace( '/[\x00-\x08\x0B\x0C\x0E-\x1F]/', '', $content );

How can I solve this?

I am just starting at web development, so I couldn't find success trying to change some code in the kses.php file. I managed to find it via file manager (cpanel, etc). I tried reading tutorials related (Youtube video), but it didn´t work out.

0

There are 0 best solutions below