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

主机查询菜单出错 #30

Closed
jcqxr opened this issue Jan 5, 2017 · 2 comments
Closed

主机查询菜单出错 #30

jcqxr opened this issue Jan 5, 2017 · 2 comments

Comments

@jcqxr
Copy link

jcqxr commented Jan 5, 2017

主机查询菜单出错:

A PHP Error was encountered
Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: controllers/Host.php

Line Number: 117

Backtrace:

File: /DATA/app/bk/bk-cmdb/application/controllers/Host.php
Line: 117
Function: _error_handler

File: /DATA/app/bk/bk-cmdb/application/controllers/Host.php
Line: 52
Function: getHostFieldSelect

File: /DATA/app/bk/bk-cmdb/index.php
Line: 293
Function: require_once

这有办法处理吗?求问

@owenlxu
Copy link
Contributor

owenlxu commented Jan 6, 2017

有截图吗,页面的错误截图,日报报的warning日志基本可以忽略

@jcqxr
Copy link
Author

jcqxr commented Jan 6, 2017

关闭index.php的报错后,网页显示正常了

@owenlxu owenlxu closed this as completed Jan 6, 2017
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

2 participants