Salve a tutti.
Ho installato e provato il tema BLANK che ho trovato nella banca dati di moodle.
E' tutto ok tranne quando faccio il logout e allora vien fuori in alto, dove viene visualizzata nome e avatar dell'utente, questo messaggio:
Notice: Undefined property: object::$firstname in /home4/psallite/public_html/musicaliturgica/theme/BLANK/header.html on line 290
Notice: Undefined property: object::$lastname in /home4/psallite/public_html/musicaliturgica/theme/BLANK/header.html on line 290
Notice: Undefined property: object::$firstname in /home4/psallite/public_html/musicaliturgica/theme/BLANK/header.html on line 290
Notice: Undefined property: object::$lastname in /home4/psallite/public_html/musicaliturgica/theme/BLANK/header.html on line 290
Vado ad aprire il file header.html e alla linea 290 trovo:
<?PHP
echo '<a href="'.$CFG->wwwroot.'/user/view.php?id='.$USER->id.'&course='.$COURSE->id.'"><img src="'.$CFG->wwwroot.'/user/pix.php?file=/'.$USER->id.'/f1.jpg" title="'.$USER->firstname.' '.$USER->lastname.'" alt="'.$USER->firstname.' '.$USER->lastname.'" /></a>';
?>
Secondo voi cosa devo modificare?
Carlo