I have the following error every time I try to clear the cache in Laravel 7.
Class 'App\Providers\TranslationServiceProvider' not found
I removed my provider but it still exists in the cache. I don't want to remove manually directory /bootstrap/cache. Does exist any artisan command which will take care of flushing all cache without any error?
I have already tried without any effect:
artisan config:cache
artisan config:clear
artisan cache:clear
artisan optimize
Clear All, run:
php artisan optimize:clear
result:
Cached events cleared!
Compiled views cleared!
Application cache cleared!
Route cache cleared!
Configuration cache cleared!
Compiled services and packages files removed!
Caches cleared successfully!
Use composer dump-autoload to clear the providers cache
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With