google-api-php-client icon indicating copy to clipboard operation
google-api-php-client copied to clipboard

Fatal error: Uncaught Error: Class 'Google_Oauth2Service' not found

Open MazettePatacaisse opened this issue 9 years ago • 1 comments

Hello,

I have a big problem with this api. i'm trying to make a google button connect. All working fine except this class! Fatal error: Uncaught Error: Class 'Google_Oauth2Service' not found

So i'have searching in the web if a fix is released....nothing! Any help with this bug will be appreciate. is there an additionnal path to add?? except vendor/autoload.php?? Or maybe this class has been updated by another one??

We can't retrieve user info since this class is broken. I have trying the 3 last released..... no success.

Note i have installed by composer and manually! Same result...

MazettePatacaisse avatar Sep 07 '17 17:09 MazettePatacaisse

yessssssssss, i have found the solution! Son like i thaught, Google_Oauth2Service is depreciated since new api^^ there's new method! Thank's to this person....really! he save my time......

https://stackoverflow.com/questions/8326133/google-oauth-2-php-call-to-userinfo?lq=1

MazettePatacaisse avatar Sep 07 '17 19:09 MazettePatacaisse