老虎机亚洲城官网

[2] ErrorException in Article.phphtml line 174

Invalid argument supplied for foreach()

  1. if($cat['list']=='list_activity' || $cat['list']=='list_zhuti'){
  2. $activity=M('article_cat')->where(['parent_id'=>$id])->order('sort_order asc')->select();
  3. foreach($activity as $vv){
  4. $activity_arr[]=$vv;
  5. }
  6. $this->assign('activity_arr',$activity_arr);
  7. }
  8. foreach($article as $k => &$v){
  9. if(in_array($id,[9,11,13,14,15,16,])){
  10. $v['content'] = html_entity_decode($v['content']);
  11. }
  12. else{
  13. $v['content'] = strip_tags(html_entity_decode($v['content']));
  14. if(mb_strlen($v['content'],"utf-8") > 1){
  15. $v['content'] = mb_substr($v['content'],0,10000000,"utf-8").'';
  16. }
  17. }

Call Stack

  1. in Article.phphtml line 174
  2. at Error::appError(2, 'Invalid argument sup...', '/data_c/dbjhygy/wuhu...', 174, ['id' => 22, 'cat' => ['cat_id' => 22, 'parent_id' => 3, 'cat_format' => 0, ...], 'category' => [['cat_id' => 22, 'cat_name' => '官网时间', 'cat_type' => 0, ...], ['cat_id' => 23, 'cat_name' => '票务资讯', 'cat_type' => 0, ...], ['cat_id' => 24, 'cat_name' => '亚洲城指南', 'cat_type' => 0, ...], ...], ...]) in Article.phphtml line 174
  3. at Article->articleList('22')
  4. at ReflectionMethod->invokeArgs(object(Article), ['22']) in App.phphtml line 346
  5. at App::invokeMethod([object(Article), 'articleList'], []) in App.phphtml line 609
  6. at App::module(['home', 'Article', 'articleList'], ['app_host' => '', 'app_debug' =>true, 'app_trace' =>false, ...], null) in App.phphtml line 460
  7. at App::exec(['type' => 'module', 'module' => ['home', 'Article', 'articleList']], ['app_host' => '', 'app_debug' =>true, 'app_trace' =>false, ...]) in App.phphtml line 142
  8. at App::run() in start.phphtml line 19
  9. at require('/data_c/dbjhygy/wuhu...') in index.phphtml line 60

Environment Variables

GET Data

id
22
POST Data
empty
Files
empty

Cookies

is_mobile
0
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/data_c/dbjhygy/wuhudabaijing/wwwroot/index.phphtml
QUERY_STRING
s=/home/Article/articleList/id/22.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.phphtml
REQUEST_URI
/home/Article/articleList/id/22.html
DOCUMENT_URI
/index.phphtml
DOCUMENT_ROOT
/data_c/dbjhygy/wuhudabaijing/wwwroot
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.1.18
REMOTE_ADDR
192.119.138.3
REMOTE_PORT
55915
SERVER_ADDR
172.16.1.145
SERVER_PORT
80
SERVER_NAME
winginv.com
REDIRECT_STATUS
200
PATH_INFO
/home/Article/articleList/id/22.html
HTTP_HOST
www.winginv.com
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
PHP_SELF
/index.phphtml
REQUEST_TIME_FLOAT
1596553243.1506
REQUEST_TIME
1596553243
Environment Variables
empty

ThinkPHP Constants

PLUGIN_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
1
SITE_URL
http://www.winginv.com
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/application/
NOW_TIME
1596553243
THINK_VERSION
5.0.15
THINK_START_TIME
1596553243.1514
THINK_START_MEM
276984
EXT
.phphtml
DS
/
THINK_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/thinkphp/
LIB_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/thinkphp/library/
CORE_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/thinkphp/library/think/
TRAIT_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/thinkphp/library/traits/
ROOT_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/
EXTEND_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/extend/
VENDOR_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/vendor/
RUNTIME_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/runtime/
LOG_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/runtime/log/
CACHE_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/runtime/cache/
TEMP_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/runtime/temp/
CONF_PATH
/data_c/dbjhygy/wuhudabaijing/wwwroot/application/
CONF_EXT
.phphtml
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
PHP_INT_MIN
-9223372036854775808
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Article
ACTION_NAME
articleList
PREFIX
dbj_
SESSION_ID
欧冠转播BTT365bet必威体育必威体育亚洲官网