Skip Navigation

This topic contains 0 reply, has 1 voice.

Last updated by sarjuG-2 4 months, 3 weeks ago.

Assisted by: Waqas Bin Hasan.

Author Posts
January 7, 2025 at 10:08 am #16568828

sarjuG-2

Background of the issue:
I am working on a site under development and encountered a PHP deprecated warning related to the preg_replace() function in the kses.php file. The warning indicates that passing null to parameter #3 ($subject) of type array|string is deprecated.

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

Questions:
How can I resolve the deprecated warning in kses.php?
Is there an update or patch available for this issue?

The topic ‘[Closed] kses.php issue’ is closed to new replies.