• Resolved Ov3rfly

    (@ov3rfly)


    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor zymeth25

    (@zymeth25)

    Thanks for reporting, the fix will be included in the next release. Meanwhile, if you want to get it sooner feel free to download the development version from Github.

    Thread Starter Ov3rfly

    (@ov3rfly)

    Thanks for quick response. Issue is fixed with this commit at GitHub.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Deprecated: preg_replace(): Passing null to parameter #3 ..’ is closed to new replies.