I am having this error when moving User.php to Models/User.php
local.ERROR: Symfony\\Component\\Debug\\Exception\\FatalThrow
What happened is that you changed the location of the file user.php.
Your system is still looking for the file user.php in the old location. You need to give the system the right road to the file.
I gess you have to change the the code from 'model' => App\User::class, to
'model' => App\Models\User::class,