Closed
Description
Pulse Version
1.0.0-beta11
Laravel Version
10.43.0
PHP Version
8.3
Livewire Version
3.4.4
Database Driver & Version
MySQL 8
Description
I'm using laravel/ui
and when a user logs out of my application, the Logout
event has null
for the $user
, causing a type error in Laravel Pulse:
Laravel\Pulse\Pulse::rememberUser(): Argument #1 ($user) must be of type Illuminate\Contracts\Auth\Authenticatable, null given, called in /home/forge/example.com/vendor/laravel/pulse/src/PulseServiceProvider.php on line 124
https://github.com/laravel/pulse/blob/1.x/src/PulseServiceProvider.php#L124
Steps To Reproduce
- Install
laravel/ui
- Install
laravel/pulse
- Configure exception handling for Pulse
- Log in to the application
- Log out of the application