I use below function for insert/create new user from admin panel:
public function store(Request $request) { $this->validate($request, [ \'name
I have faced the same problem when I use laravel version 5.8.* and php version 7.4. I have solved this issue update composer. I just use this command in terminal
php composer.phar update
or
composer update
and fixed my issue easily.