Back to Social Login Support

smartyou.info38981
smartyou.info38981

Thank you for the plugin.

But you have and issue in the file UserManager.php file, in the line 167, yo can't use $user_details object as array. You have

    if ( !empty($user_details['avatar_original']) ) 

and must be

    if ( !empty($user_details->avatar_original) )

Sorry, I don't have an account on bitbucket to open an issue in the public repo.

vsujica12288
vsujica12288

I also had to make change in update_user_providers_token_column_1023.php in the line 28 to update the plugin.

From

 $table->text('provider_token')->default('')->after('provider_id');

To

$table->text('provider_token')->after('provider_id');

And then applied your solution to make it work. Thanks smartyou.info38981

Flynsarmy
Flynsarmy

@smartyou.info38981 thanks for the fix. I've implemented it and it should be available on the marketplace soon.

@vsujica12288 why would removing default() affect anything? What error were you getting?

1-3 of 3