-
Notifications
You must be signed in to change notification settings - Fork 5
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
Undefined property: stdClass::$email preventing account creation #13
Comments
i found this in the logs underneath the error i posted above: |
just noticed the login page has this line below the php errors Unable to create your account. Please try again. |
Did you grant the Facebook application access to your email address the first time you used it? You can check in your App Settings on Facebook. I just added a nicer error message if this happens in 5ce1638 |
It would be nice to let the user re-auth and add the email permission as described at https://developers.facebook.com/docs/facebook-login/login-flow-for-web/v2.0#re-asking-declined-permissions but I haven't seen how to do this without an SDK yet. |
hello |
hi
when i have the settings "Allow visitors to request account registration" enabled i get this error:
ERROR 8: Undefined property: stdClass::$email
0 Error occurred on line 492 of file module.php in function login_or_register
1 called from line 304 of file module.php in function connect
2 called from line 71 of file module.php in function modAction
3 called from line 33 of file module.php
Notice: Undefined property: stdClass::$email in /home/shagarat/public_html/modules_v3/facebook/module.php on line 492
ERROR 8: Undefined property: stdClass::$email
0 Error occurred on line 533 of file module.php in function login_or_register
1 called from line 304 of file module.php in function connect
2 called from line 71 of file module.php in function modAction
3 called from line 33 of file module.php
Notice: Undefined property: stdClass::$email in /home/shagarat/public_html/modules_v3/facebook/module.php on line 533
when it is disabled i get this error:
ERROR 8: Undefined property: stdClass::$email
0 Error occurred on line 492 of file module.php in function login_or_register
1 called from line 304 of file module.php in function connect
2 called from line 71 of file module.php in function modAction
3 called from line 33 of file module.php
Notice: Undefined property: stdClass::$email in /home/shagarat/public_html/modules_v3/facebook/module.php on line 492
in both cases, my users are unable to login
pls advise
The text was updated successfully, but these errors were encountered: