La pagination de squelettes/inclure/agenda-liste.html génère une liste de Deprecated
SPIP4.2.12 PHP 8.2.14 (plugin Agenda 5.0.5)
Au calcul de la page agenda la pagination de squelettes/inclure/agenda-liste.html génère une liste de Deprecated sur la function parametre_url car elle renvoie des params null https://git.spip.net/spip-contrib-extensions/agenda/-/blob/master/squelettes/inclure/agenda-liste.html?ref_type=heads#L33
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in ecrire/inc/utils.php on line 578
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in ecrire/inc/utils.php on line 583
Deprecated: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in ecrire/inc/utils.php on line 591
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in ecrire/inc/utils.php on line 600
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in ecrire/inc/utils.php on line 605
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in ecrire/inc/utils.php on line 578
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in ecrire/inc/utils.php on line 583
Deprecated: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in ecrire/inc/utils.php on line 591
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in ecrire/inc/utils.php on line 600
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in ecrire/inc/utils.php on line 605
résolu sauvagement si sur ecrire/inc/utils on teste que $url existe L573
function parametre_url($url, $c, $v = null, $sep = '&') {
if(!$url){
return;
}
…