Open tayyebi opened 4 years ago
When we try to access example.com/i/admin/media, it returns:
Facade\Ignition\Exceptions\ViewException Trying to get property 'username' of non-object (View: /home/ubuntu/pixelfed/resources/views/admin/media/home.blade.php)
From line:
app/Status.php:10
(https://github.com/pixelfed/pixelfed/blob/c39be2464ee812fdce06178f443986258a0ed7be/app/Status.php)
Which also it affects
app/Http/Middleware/TwoFactorAuth.php
app/Http/Middleware/DangerZone.php
app/Http/Middleware/Admin.php:24
return $next($request);
app/Http/Middleware/FrameGuard.php
public/index.php
server.php
@tayyebi What version of Pixelfed are you running?
0.10.9
When we try to access example.com/i/admin/media, it returns:
From line:
(https://github.com/pixelfed/pixelfed/blob/c39be2464ee812fdce06178f443986258a0ed7be/app/Status.php)
Which also it affects
app/Http/Middleware/TwoFactorAuth.php
,app/Http/Middleware/DangerZone.php
,app/Http/Middleware/Admin.php:24
(return $next($request);
),app/Http/Middleware/FrameGuard.php
,public/index.php
,server.php
.