enupal / socializer

Enables users to login to your website through more than 35 social networks.
Other
7 stars 4 forks source link

Facebook not working - error in log #11

Open peteralewis opened 3 years ago

peteralewis commented 3 years ago

Hi, I've connected Facebook plugin settings & in the developer app, but when I try to connect via a template it goes straight to the redirect URL (using incognito and not logged into Facebook) with the following error in web.log:

[error][yii\base\ErrorException:8] yii\base\ErrorException: Undefined index: sourceFormField in /xxxxxxxxxx/vendor/enupal/socializer/src/services/Providers.php:826

The User Field Mapping in Socializer settings shows: "Socializer will populate email, firstName and lastName into the User model by default" and doesn't allow the Email field to be mapped, so not sure why the error is occuring.

andrelopez commented 3 years ago

@peteralewis Do you have any User Field mapping? Just to confirm, you never see the Facebook login page on incognito? I'll try to recreate it.

peteralewis commented 3 years ago

Hi, only field mapping I have was the displayName to a text field for the user called nickname. That was the only (social) field I could map. Correct - I never saw Facebook.

Ah, just had a thought and have checked the character limit for the custom nickname field and the field limit is set to 40 characters - could that have an impact? Besides that it's just a Plain Text field.