I also upgrade to 1.4 and when I use the sfGuardUser backend, it throws an error when I try to edit a user:
Fatal error: Call to a member function setLabel() on a non-object in plugins/sfDoctrineGuardPlugin/lib/form/doctrine/base/ BasesfGuardUserAdminForm.class.php on line 26 I have no idea how to solve this. Maybe the functions are deprecated for the forms are deprecated in symfony 1.4 On 30 nov, 13:00, Fabien Potencier <fabien.potenc...@symfony- project.com> wrote: > Christopher Schnell wrote: > > Hi all, > > > I just upgraded a new project to 1.4 and ran the project:validate Task. > > It shows an error in sfDoctrineGuard Plugin, meaning that it is not > > ready for 1.4. The error reads as follows: > > > 1. > > 7. Checking usage of array notation with a parameter holder > > 2. > > > 3. > > 1 file(s) need to be changed. > > 4. > > > > > ROOT/plugins/sfDoctrineGuardPlugin/modules/sfGuardUser/lib/BasesfGuardUserActions.class.php > > 5. > > > 6. > > The files above use the array notation with a parameter holder, > > 7. > > which is not supported anymore in symfony 1.4. > > 8. > > For instance, you need to change this construct: > > 9. > > > 10. > > $foo = $request->getParameter('foo[bar]') > > 11. > > > 12. > > to this one: > > 13. > > > 14. > > $params = $request->getParameter('foo') > > 15. > > $foo = $params['bar']) > > > Should I report to the symfony Bugtracker or is there any other location > > for sfDoctrineGuard Plugin? > > fixed. > > Thanks, > Fabien > > > > > Regards, > > Christopher. > > > -- > > > You received this message because you are subscribed to the Google Groups > > "symfony users" group. > > To post to this group, send email to symfony-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > symfony-users+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.