Pages vues depuis 25/05/2001 : 108 395 922
Index du forum »» Bugs, Probs ... »» Nouvelle install sous usbwebserver PHP 8.1
Citation : colonelwog
je l'ai corrigée par le code qu'avait donné Nico plus haut pour une autre variable:
ligne 238 remplacée //$adm_lecture = explode('|',$SAQ['fdroits1_descr']);
par :
$adm_lecture = [];
if (isset($SAQ['fdroits1_descr']) && is_string($SAQ['fdroits1_descr'])) {
$adm_lecture = explode('|', $SAQ['fdroits1_descr']);
}
$adm_lecture = array();
if (isset($SAQ['fdroits1_descr']) && is_string($SAQ['fdroits1_descr']))
$adm_lecture = explode('|',$SAQ['fdroits1_descr']);
$adm_lecture = explode('|', (string)$SAQ['fdroits1_descr']);
$adm_lecture = explode('|', $SAQ['fdroits1_descr'] ?? '' );
case 'text':
case 'email':
case 'url':
case 'number':
$str .= '
<div class="mb-3 row">
<label class="col-form-label col-sm-4" for="' . $this->form_fields[$i]['name'] . '">' . $this->form_fields[$i]['en'];
//$this->form_fields[$i]['value'] = str_replace('\'', ''', $this->form_fields[$i]['value']);
// Add bug valeur null deprecated str_replace.
if (!is_null($this->form_fields[$i]['value'])) {
$this->form_fields[$i]['value'] = str_replace('\'', ''', $this->form_fields[$i]['value']);
}
Citation : nicolas2
is_string() normalement je pensse pas quil soit vraiment utile, si oui tu place un settype($fdroits1_descr, 'string'); just avant sont appel
dsl juste de passage je suis au Two codeurs Bar lolMessage édité par : nicolas2 / 20/02/2025 16:48
Citation : colonelwog
Par contre dans l'admin ^^ :
l'erreur se répéte ^^Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
$pos_deb=strpos($ibid ?? '',"[$lang]",0);
$pos_fin=strpos($ibid ?? '',"[/$lang]",0);
$abs_pos_deb=strpos($ibid ?? '',"[!$lang]",0);
Citation : jpbCitation : colonelwog
Par contre dans l'admin ^^ :
l'erreur se répéte ^^Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1512
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in I:\xampp\htdocs\mainfile.php on line 1517
pour la ligne 1512 1513 tu peux la remplacer par :
$pos_deb=strpos($ibid ?? '',"[$lang]",0);
$pos_fin=strpos($ibid ?? '',"[/$lang]",0);
et ligne 1517
$abs_pos_deb=strpos($ibid ?? '',"[!$lang]",0);
et essayer pour voir
Message édité par : jpb / 20/02/2025 17:21Message édité par : jpb / 20/02/2025 17:25Message édité par : jpb / 20/02/2025 17:26
Citation : colonelwog
Corections sont faites à part pour les rank ou là je ne sais ou le mettre avant aprés la requete ?
Demain matin je reprends les tests mais à premére vue tout est ok ...Message édité par : colonelwog / 20/02/2025 18:27
Citation : colonelwog
Corections sont faites à part pour les rank ou là je ne sais ou le mettre avant aprés la requete ?
Demain matin je reprends les tests mais à premére vue tout est ok ...Message édité par : colonelwog / 20/02/2025 18:27