Pixel
Pixel

Reputation: 910

Laravel 5.1 FatalThrowableError in ProviderRepository.php

i installed the package kbwebs/multiauth but I have this error :

FatalThrowableError in ProviderRepository.php line 146:
Fatal error: Class 'Kbwebs\MultiAuth\AuthServiceProvider' not found

I don't understand why i have this error, my app.php is correctly configure :

'providers' => [
     (...)
     Kbwebs\MultiAuth\AuthServiceProvider::class,
     Kbwebs\MultiAuth\PasswordResets\PasswordResetServiceProvider::class,
     (...)
],

Composer.json :

"require": {
    "php": ">=5.5.9",
    "laravel/framework": "5.1.*",
    "chrisbjr/api-guard": "^2.3",
    "kbwebs/multiauth": "~1.0"
},

Upvotes: 1

Views: 3015

Answers (2)

iowatiger08
iowatiger08

Reputation: 1962

for me, someone on the team added the new libraries and I simply needed to run composer install to get the new libraries.

Upvotes: 1

Pixel
Pixel

Reputation: 910

It was the Laravel Cache. I clear the cache and upload again the projet on my server.

Upvotes: 0

Related Questions