There is an issue in file /panel/app/forms/users/user.php. Panel tries to check if user has password even tho you are just adding new user…
Solution for now is just comment these few lines of code in mentioned file.
if(!$user->password()) {
// Warning that the user does not have a password and can't login
$fields['noPasswordHelp'] = array(
'type' => 'info',
'text' => 'users.form.password.none.info'
);
}
I had already suggested to solve this issue like this in the other post:
if($user && !$user->password()) {
// Warning that the user does not have a password and can't login
$fields['noPasswordHelp'] = array(
'type' => 'info',
'text' => 'users.form.password.none.info'
);
}
That makes more sense then just commenting out those lines.