0
我使用cmd窗口更新作曲家,並得到這些錯誤:作曲更新 - 網站停止工作
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Darryldecode\Cart\CartServiceProvider' not found
Script php artisan clear-compiled handling the pre-update-cmd event returned with an error
[RuntimeException]
Error Output:
網站不在線着呢,我使用XAMPP運行它。 現在,當我試圖通過本地主機訪問我的網站,我得到這個錯誤:
FatalErrorException在ProviderRepository.php行146: 班「Darryldecode \車\ CartServiceProvider找不到。
在app.php文件我有:
Darryldecode\Cart\CartServiceProvider::class,
在應用服務提供商
,並:
'Cart' => Darryldecode\Cart\Facades\CartFacade::class,
的別名
。
關於如何獲取網站的任何想法?
謝謝!
首先:檢查文件是否存在! 然後:如果不檢查是否添加條目到'composer.json' 最後:註釋這一行'Darryldecode \ Cart \ CartServiceProvider :: class,'並運行'composer update' –