LoginRegister
LoginRegister copied to clipboard
Notice: Trying to get property 'name' of non-object in LoginRegister.module on line 394
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;
Sorry, it looks like this is a duplicate of: https://github.com/ryancramerdesign/LoginRegister/issues/6