Dashboard Sonata-Symfony2.3- Echec Afficher
Bonjour,
J'ai installé la dashboard Sonata (SonataAdminBundle et Symfony2.3) et je rencontre une difficulté.
Lorsque je clic sur le bouton "Afficher" pour obtenir la fiche d'un utilisateur:
- si les champs "Profil" de cette fiche n'ont PAS été renseignés, l'affichage s'effectue correctement ( les champs "Général" et "Groupes" étant seuls renseignés).
- si tous les champs de cette fiche ont été renseignés (Général, Groupes, Profil, etc..), j'obtiens:
Citation:
An exception has been thrown during the rendering of a template ("Warning: nl2br() expects parameter 1 to be string, object given in G:\NetBeansProjects\ACMP02\app\cache\dev\twig\0c\14\43ba727cec8e93ea47c9370fa777.php line 45") in "SonataAdminBundle:CRUD:show.html.twig
Dans quelle direction m'orienter pour une solution? Merci à vous.
Mise à jour - bug disparu
Bonjour,
Pour information, le bug a disparu après:
- installation de Symfony 2.3.1 et
- réinstallation des bundles Sonata.
Désormais, la fiche "Profil" s'affiche correctement.
Problème résolu.