Home Coding Symfony error : Call to undefined method myUser::setReferer.

Symfony error : Call to undefined method myUser::setReferer.

by Ben

If you have this error

Call to undefined method myUser::setReferer.

and if you are using sfGuard plugin, go to

apps\[project]\lib\myUser.class.php

and change


class myUser extends sfBasicSecurityUser
{
}

to


class myUser extends sfGuardSecurityUser
{
}

You may also like

1 comment

syntax3rror March 9, 2011 - 5:04 pm

Thanks….

Reply

Leave a Comment