Hello everyone!
I've been working with Laravel for a short period of time, and I've encountered an issue for which I can't find a solution. I'm trying to implement localization, but every time I create a middleware and access my website, I receive the error message that it doesn't exist.
[previous exception] [object] (ReflectionException(code: -1): Class \"App\\Http\\Middleware\\LanguageManager\" does not exist
[2023-10-10 21:01:33] production.ERROR: Target class [App\Http\Middleware\LanguageManager] does not exist.```
Does anyone have an idea of what might be causing this?
Thank you!