I'm also having a weird behaviour where on the nova-notifications request it returns Call to a member function getKey() on null, this is being caused by vendor/laravel/nova/src/Http/Controllers/NotificationIndexController.php line 19, and then src/Http/Requests/NotificationRequest.php where on line 17 $this->user() returns null for some reason.
While trying to login I'm getting Method Illuminate\\Http\\Request::validate does not exist.
While trying to login, I'm getting Method Illuminate\\Http\\Request::validate does not exist..
I'm on Laravel 8, but it's a really old project, so it could be that some dependency is wrong maybe.
To be able to login I had to go to vendor/laravel/ui/auth-backend/AuthenticatesUsers.php and comment the validateLogin function contents to be able to login myself.
The main issue is that for some reason, use Illuminate\Http\Request; seems to not have the validate method. Any ideas on what could be causing this?
Found the solution, it was a missing Illuminate\Foundation\Providers\FoundationServiceProvider::class provider on the config/app.php.
The project is so old that it didn't have this there
Please or to participate in this conversation.