[D9 PHP 8.1] Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in text_summary() (line 71 of core/modules/text/text.module)

Created on 30 September 2022, about 2 years ago
Updated 12 May 2023, over 1 year ago

Après la migration vers le PHP 8.1, J'ai ces deux erreurs dans mon site.

Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in text_summary() (line 71 of core/modules/text/text.module).
Deprecated function: mb_strlen(): Passing null to parameter #1 ($string) of type string is deprecated in text_summary() (line 95 of core/modules/text/text.module).

Quelqu'un a une idée comment les corriger?

💬 Support request
Status

Fixed

Version

9.5

Component
Text  →

Last updated 17 days ago

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024