"implementing oauth2 login, fatal error: class 'google_service' not found" Answer’s


Make sure you add the line BEFORE any other Google "require_once" lines.

require_once 'google-api-php-client/autoload.php';

I had it last and it had me scratching my head for a good 10 minutes.

Wednesday, March 31, 2021
answered 10 Months ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :