Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice: Trying to get property 'name' of non-object in LoginRegister.module on line 394 #9

Open
adrianbj opened this issue May 22, 2018 · 1 comment

Comments

@adrianbj
Copy link

adrianbj commented May 22, 2018

This happens when it attempts to find a user by email address, but the password is incorrect so the user isn't logged in and $user is not defined.

This should fix things:

if($user) $name = $user->name;
@adrianbj
Copy link
Author

adrianbj commented Feb 8, 2019

Sorry, it looks like this is a duplicate of: #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant