Open twhiting9275 opened 4 months ago
LogViewer Version: 11.0.1
Laravel Version: 11.16.0
PHP Version: 8.2.21
Out of box installation, Pretty basic configs. When showing /admin/log-viewer though, the error message in subject is shown
Configs have been changed and work properly. It's routing TO log-viewer ` 'route' => [ 'enabled' => true,
'attributes' => [ 'prefix' => 'admin/log-viewer', 'middleware' => ['web', 'auth', 'can:view_logs'], ], 'show' => 'log-viewer::logs.show', ],`
The full error: Class "Route" not found
Class "Route" not found
Lines producing this error: resources / views / vendor / log-viewer / bootstrap-5 / _master.blade.php: 229 <li class="nav-item {{ Route::is('log-viewer::dashboard') ? 'active' : '' }}"> just below that will produce it too
<li class="nav-item {{ Route::is('log-viewer::dashboard') ? 'active' : '' }}">
<li class="nav-item {{ Route::is('log-viewer::logs.list') ? 'active' : '' }}">
The route is protected
Route::group(['middleware' => ['role:developer']], function () { Route::get('/admin/log-viewer',[LogViewerController::class,'index']); });
It's not an auth issue, if I'm not logged in, the routing works as it's supposed to, giving me a 403.
LogViewer Version: 11.0.1
Laravel Version: 11.16.0
PHP Version: 8.2.21
Description:
Out of box installation, Pretty basic configs. When showing /admin/log-viewer though, the error message in subject is shown
Configs have been changed and work properly. It's routing TO log-viewer ` 'route' => [ 'enabled' => true,
The full error:
Class "Route" not found
Lines producing this error: resources / views / vendor / log-viewer / bootstrap-5 / _master.blade.php: 229
<li class="nav-item {{ Route::is('log-viewer::dashboard') ? 'active' : '' }}">
just below that will produce it too<li class="nav-item {{ Route::is('log-viewer::logs.list') ? 'active' : '' }}">
The route is protected
It's not an auth issue, if I'm not logged in, the routing works as it's supposed to, giving me a 403.