Help me sort this error out I have removed the class but when I run php artisan
I get this error:
Class 'Swap\Laravel\SwapServiceProvider' not found. I have removed it from the app.php file in config and the composer.json file.
in my log
local.ERROR: Class 'Swap\Laravel\SwapServiceProvider' not found {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Class 'Swap\Laravel\SwapServiceProvider' not found at C:\laragon\www\myapp-web\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php:208)
I tried to create a new branch and still getting the same error.
php artisan cache
command? – Wellsphp artisan config:cache
at some point? if so you need to delete the cached config – lagbox