diff --git a/app/Http/Livewire/Help.php b/app/Http/Livewire/Help.php index d467a11f9..f05b81010 100644 --- a/app/Http/Livewire/Help.php +++ b/app/Http/Livewire/Help.php @@ -19,7 +19,7 @@ class Help extends Component ]; public function mount() { - $this->path = Route::current()->uri(); + $this->path = Route::current()?->uri() ?? null; if (isDev()) { $this->description = "I'm having trouble with {$this->path}"; $this->subject = "Help with {$this->path}";