I am beginner in laravel. I just created a new laravel 5.4 project. Then I run
php artisan make:auth
After that I try to register the user. Now I am getting this error:
ErrorException in Builder.php line 2443:
Call to undefined method Illuminate\Database\Query\Builder::getAuthIdentifierName() (View: D:\wamp\www\crud\resources\views\welcome.blade.php)
It looks to me as error is coming from welcome.blade.php
@if (Route::has('login'))
<div class="top-right links">
@if (Auth::check())
<a href="">Home</a>
@else
<a href="">Login</a>
<a href="">Register</a>
@endif
</div>
@endif
Can anybody help me solve my problem. Thank you in advance.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire