User model misses admin property
viveksudalai opened this issue · 0 comments
I am getting "User model misses admin property" in stats page
I am using Laravel 5.8.38 and PHP 7.1.9.
Here is my middleware and tracker configuration
protected $middleware = [
\App\Http\Middleware\TrustProxies::class,
\App\Http\Middleware\CheckForMaintenanceMode::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class,
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
];
protected $middlewareGroups = [
'web' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\Session\Middleware\AuthenticateSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
\PragmaRX\Tracker\Vendor\Laravel\Middlewares\Tracker::class,
],
tracker.php
/*
* Stats Panel routes middleware
*
*/
'stats_routes_middleware' => 'web',
I have enable Laravel Auth and logged as a normal user after that i am getting this error