I try to edit user and after i update, error avatar.
same after i try to create user have error assign role
Hi,
I apologize for the inconvenience. It seems there is a bug. As a workaround, you can follow these steps:
Locate the file: /laravel/starterkit/app/Livewire/User/AddUserModal.php somewhere at line 80.
Update the code block as follows:
$data["email"] = $this->email;
$user = User::find($this->user_id) ?? User::create($data);
Hi,
Could you please provide a screenshot of the error you're encountering or any specific error messages?
Additionally, it would be helpful to check the console log for any JavaScript errors that might be related to the avatar update issue. Please inspect the browser console for any error messages or warnings.
Also, ensure that you have run the following command to create a symbolic link:
php artisan storage:link
yes after i write php artisan storage:link, link already exists.
and i try again to update user, avatar same not show.
and after i try add user i have error :
Call to a member function assignRole() on null .
=> $user->assignRole($this->role);