I just create a model user.php on source app and when I reloaded the serve appear this error
Call to undefined method Illuminate\Database\Query\Builder::getAuthIdentifierName()
Thanks for the help!
Check if user table contains primary key as 'id' and User model extends proper interfaces like Authenticatable.
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With