• Resolved ewd910

    (@ewd910)


    Hi, just updated my environment to php 8.1 and I’m getting two notices of deprecated functions calls –

    preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in .../wp-includes/class-wp-block-parser.php on line 417
    strlen(): Passing null to parameter #1 ($string) of type string is deprecated in .../wp-includes/class-wp-block-parser.php on line 489

    is this the place to report this? Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • I haven’t seen the messages on my end yet. Have you deactivated all plugins and activated a default theme? Do the messages still come then? If not, they could also be caused by a plugin or the theme you are using. Then you would have to look more closely, which part is responsible for it.

    Thread Starter ewd910

    (@ewd910)

    You’re right, it was another plugin. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 8.1 wordpress core deprecations’ is closed to new replies.