Problems when user change her password using lock UI (Failed Change Password)

That’s the thing. I’m redirecting the user to a regular home page but that is what is producing this error :S

Does the redirection expects anything in particular? Why do I get that error if redirecting to a regular webpage after the passwords has been changed?