linkedin and Goggle Social sign-in is not working

Hi,

Linkedin and Goggle Social sign-in is not working…

Getting below error in case of linkedin.

[06-Jan-2020 04:35:47 UTC] PHP Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: GET https://api.linkedin.com/v1/people/~:(id,email-address,picture-urls::(original),first-name,last-name,location) resulted in a 410 Gone response:
{
“errorCode”: 0,
“message”: “This resource is no longer available under v1 APIs”,
“requestId”: “IGCJ0PGZWR”,
"s (truncated…)
in /var/www/dev/wp-content/plugins/userpro/lib/linkedin/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:
#0 /var/www/dev/wp-content/plugins/userpro/lib/linkedin/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 /var/www/dev/wp-content/plugins/userpro/lib/linkedin/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response))
#2 /var/www/dev/wp-content/plugins/userpro/lib/linkedin/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHan in /var/www/dev/wp-content/plugins/userpro/lib/linkedin/vendor/zoonman/linkedin-api-php-client/src/Exception.php on line 68

Below error in case of Goggle Login:
#0 /var/www/dev/wp-content/plugins/userpro/lib/google-auth/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(613): League\OAuth2\Client\Provider\Google->checkResponse(Object(GuzzleHttp\Psr7\Response), Array)
#1 /var/www/dev/wp-content/plugins/userpro/lib/google-auth/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(528): League\OAuth2\Client\Provider\AbstractProvider->getParsedResponse(Object(GuzzleHttp\Psr7\Request))
#2 /var/www/dev/wp-content/plugins/userpro/functions/socials/GoogleAuth.php(54): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\AuthorizationCode), Array)
#3 /var/www/dev/wp-content/plugins/userpro/lib/google-auth/auth.php(12): GoogleAuth->login(‘4/vAHUmUS1EBOyW…’)
#4 {main}
thrown in /var/www/dev/wp-content/plugins/userpro/lib/google-auth/vendor/league/oauth2-google/src/Provider/Google.php on line 120

Please let me know how to fix the above issues.

-Monika

Please, refer UserPro documentation and/or contact the author for the free support.