Hello Im building my website with symfony and im using sfguard for user management, it works great when im logged in, but when not i get this error:
Fatal error: Call to a member function __toString() on a non-object in ..... /sfDoctrineGuardPlugin/lib/user/sfGuardSecurityUser.class.php on line 223 Why? I got this in my layout: <?php if ($sf_user->isAuthenticated()): ?> <div id="header_der"> <p><strong>Bienvenido:</strong> <?php echo $sf_user ?></p> <img src="/images/ejemplos/avatar.jpg" alt="Avatar usuario" /> <small>Ultimo Acceso: 16-02-2010</small> </div> <?php else: ?> <div id="login"> <?php include_component_slot('login');?> </div> <li> </li> <?php endif; ?> Any ideas? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en