TuxxyDOS
TuxxyDOS

Reputation: 205

Laravel 5.4 - Scout error

I have this error which block me for anything :

[Symfony\Component\Debug\Exception\FatalThrowableError]
  Class 'Laravel\Scout\ScoutServiceProvider' not found

I was trying to remove scout and i think i removed a wrong line. I never touched this file before.

I tried to delete vendor folder, remove the "scout" line in comper.json and did a composer update

But it's not working.

Thanks for your help !

Upvotes: 0

Views: 1382

Answers (2)

Abdellah Ramadan
Abdellah Ramadan

Reputation: 365

You can also do composer dump-autoload It works perfectly.

Upvotes: 0

Jamesking56
Jamesking56

Reputation: 3901

You also need to remove Laravel\Scout\ScoutServiceProvider from config/app.php if you wish to remove the package.

Upvotes: 3

Related Questions