I was trying to add google plus login to my web but I encountered this error which seems really weird because I have the file already added. I already enable vendor/autoload (Im using codeigniter)
Anyone had this kind of error before? How did you fix this?
A PHP Error was encountered
Severity: Error
Message: Class 'Google\Auth\OAuth2' not found
Filename: Google/Client.php
Line Number: 929
Backtrace:
I assume you are using this package. Did you install it via composer
? It has several dependencies and it looks like based on the error, that you may be missing some of them.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.