PHP Deprecated: preg_replace(): Passing null to parameter #3 ..

[ad_1]

Getting lots of these entries in debug.log

[25-Mar-2024 16:34:44 UTC] PHP Deprecated:  preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in ../wp-includes/formatting.php on line 4813

Reason is tag_escape() call with null as parameter in list-category-posts/include/lcp-catlistdisplayer.php line 264:

$tag = tag_escape($this->params['title_tag']) ?: tag_escape($tag);

List category posts 0.89.8, WordPress 6.4.3, PHP 8.1.x

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer