Help: how to Update User Table
im getting this error :
" Typed property App\Filament\Pages\Profile::$user must not be accessed before initialization"
here in my code saw on picture:
7 Replies
public ?User $user = null; but you have to make some changes to save or update
how can i achieve that on my code?
change boot with mount, $user = ... replace with $this->user = Auth::user(); or can use auth()->user() for dates
GitHub
filament-profile/src/Pages/Profile.php at main · ryangjchandler/fil...
A simple profile management page for Filament. ✨. Contribute to ryangjchandler/filament-profile development by creating an account on GitHub.
I hope it helps. 🙂
wow great thanks for that