![](/img/trans.png)
[英]Implementing Oauth2 login, Fatal error: Class 'Google_Service' not found
[英]Class 'Google\Auth\OAuth2' not found
我試圖將google plus登錄名添加到我的網站,但遇到此錯誤,這似乎很奇怪,因為我已經添加了文件。 我已經啟用供應商/自動加載(我使用codeigniter)
有人以前有過這種錯誤嗎? 您是如何解決的?
A PHP Error was encountered
Severity: Error
Message: Class 'Google\Auth\OAuth2' not found
Filename: Google/Client.php
Line Number: 929
Backtrace:
我假設您正在使用此軟件包。 您是否通過composer
安裝了它? 它具有多個依賴關系,並且根據錯誤看來,您可能會丟失其中的一些依賴關系。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.