Notice: Function _load_textdomain_just_in_time was called incorrectly.
Translation loading for the events-manager domain was triggered too early.
This is usually an indicator for some code in the plugin or theme running too early.
Translations should be loaded at the init action or later.
Please see Debugging in WordPress for more information.
(This message was added in version 6.7.0.) in /is/htdocs/wp12150516_3JO7KSB27K/www/2023_neu/wp-includes/functions.php on line 6114
wp-includes/class-wp-list-util.php
Zeile 160
if ( ! $index_key ) {
/*
* This is simple. Could at some point wrap array_column()
* if we knew we had an array of arrays.
*/
foreach ( $this->output as $key => $value ) {
if ( is_object( $value ) ) {
// Vérifie si la propriété $field existe dans l'objet $value
if (property_exists($value, $field)) {
$newlist[ $key ] = $value->$field;
} else {
// Affiche un message d'erreur de debug si la propriété n'existe pas
error_log("La propriété '$field' n'existe pas dans l'objet.");
}
} elseif ( is_array( $value ) ) {
// Vérifie si la clé $field existe dans le tableau $value
if (array_key_exists($field, $value)) {
$newlist[ $key ] = $value[ $field ];
} else {
// Affiche un message d'erreur de debug si la clé n'existe pas
error_log("La clé '$field' n'existe pas dans le tableau.");
}
} else {
// Log de l'erreur si la valeur n'est ni un objet ni un tableau
_doing_it_wrong(
__METHOD__,
__( 'Values for the input array must be either objects or arrays.' ),
'6.2.0'
);
}
}
$this->output = $newlist;
return $this->output;
}