You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following error described below.
It happens on that single route only, and to every new registered route from the web.php pointing to a controller. The view wont show up also.
I have never called auth::make .
I did not upgrade versions
I have NO guards set on any of my routes, i have no middleware,.
And i did not touch the config/auth.php file for that reason.
Any ideas what is the reason for that exception?
Error says:
(1/1) InvalidArgumentExceptionAuth guard [] is not defined.
in AuthManager.php line 84
at AuthManager->resolve(null)in AuthManager.php line 68
at AuthManager->guard(null)in AuthManager.php line 54
at AuthManager->Illuminate\Auth{closure}(null)
This discussion was converted from issue #33084 on June 03, 2020 14:41.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description:
I have the following error described below.
It happens on that single route only, and to every new registered route from the web.php pointing to a controller. The view wont show up also.
I have never called auth::make .
I did not upgrade versions
I have NO guards set on any of my routes, i have no middleware,.
And i did not touch the config/auth.php file for that reason.
Any ideas what is the reason for that exception?
Error says:
(1/1) InvalidArgumentExceptionAuth guard [] is not defined.
in AuthManager.php line 84
at AuthManager->resolve(null)in AuthManager.php line 68
at AuthManager->guard(null)in AuthManager.php line 54
at AuthManager->Illuminate\Auth{closure}(null)
..............
Route points to:
Route::resource('/posts', 'Posts\PostController')->only(['index']);
...................
###auth.php :
`<?php
];`
Beta Was this translation helpful? Give feedback.
All reactions