Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

查看默认日志以外日志:Undefined index #16

Open
wongvio opened this issue Mar 24, 2020 · 4 comments
Open

查看默认日志以外日志:Undefined index #16

wongvio opened this issue Mar 24, 2020 · 4 comments

Comments

@wongvio
Copy link

wongvio commented Mar 24, 2020

Undefined index: (View: /www/wwwroot/idongni.cn/vendor/laravel-admin-ext/log-viewer/resources/views/logs.blade.php)

@uniteweiwei
Copy link

我也遇到这个问题
local.ERROR: Undefined index: (View: /home/wwwroot/appoint/vendor/laravel-admin-ext/log-viewer/resources/views/logs.blade.php) {"exception":"[object] (Facade\Ignition\Exceptions\ViewException(code: 0): Undefined index: (View: /home/wwwroot/appoint/vendor/laravel-admin-ext/log-viewer/resources/views/logs.blade.php) at /home/wwwroot/appoint/vendor/laravel-admin-ext/log-viewer/src/../resources/views/logs.blade.php:116)

@pailjin
Copy link

pailjin commented Jul 16, 2020

请查看下storage/logs 目录的owner

@uniteweiwei
Copy link

owner不是root,但是给了所有权限,照道理任何人也可以访问修改的

@swg0110
Copy link

swg0110 commented Jul 19, 2021

##FIX
file: \Encore\Admin\LogViewer\LogViewer::$levelColors 增加一个空key或者模板isset下
line: 38
public static $levelColors = [
'' => 'black', // fix
原有不变
];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants