Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in ecrire/inc/notifications.php on line 126
SPIP4.2.13 PHP8.2.13
A l'inscription d'un visiteur, un deprecated signalé Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in ecrire/inc/notifications.php on line 126
c'est aussi ici https://git.spip.net/spip/spip/-/blob/master/ecrire/inc/notifications.php?ref_type=heads#L124
et ça concerne $headers
string qui peut parfois être vide comme ici sur main
https://git.spip.net/spip/spip/-/blob/master/ecrire/action/inscrire_auteur.php?ref_type=heads#L252
ou en SPIP4.2
https://git.spip.net/spip/spip/-/blob/4.2/ecrire/action/inscrire_auteur.php?ref_type=heads#L259