37000cm威尼斯(股份)公司·Weibo百科

[8] ErrorException in NewsInformation.php line 167

Trying to access array offset on value of type null

  1. $browse_list = $this->model
  2. ->field('id,title,create_time')
  3. ->order('browse_number','desc')
  4. ->limit(5)
  5. ->where(['type'=>$type])
  6. ->select();
  7. $this->assign('child_column_active',$type);
  8. $this->wx_share['title'] = "37000cm威尼斯官方网站";
  9. $this->wx_share['desc'] = $info['title'];
  10. $this->wx_share['img'] = "http://hezeshengwu.com".$info['picurl'];
  11. return $this->fetch('news/detail',[
  12. 'info'=>$info,
  13. 'recommend_list'=>$recommend_list,
  14. 'browse_list'=>$browse_list,
  15. 'share'=>$this->wx_share
  16. ]);
  17. }

Call Stack

  1. in NewsInformation.php line 167
  2. at Error::appError() in NewsInformation.php line 167
  3. at NewsInformation->detail()
  4. at ReflectionMethod->invokeArgs() in Container.php line 395
  5. at Container->invokeReflectMethod() in Module.php line 131
  6. at Module->think\route\dispatch\{closure}()
  7. at call_user_func_array() in Middleware.php line 185
  8. at Middleware->think\{closure}()
  9. at call_user_func() in Middleware.php line 130
  10. at Middleware->dispatch() in Module.php line 136
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 432
  13. at App->think\{closure}()
  14. at call_user_func_array() in Middleware.php line 185
  15. at Middleware->think\{closure}()
  16. at call_user_func() in Middleware.php line 130
  17. at Middleware->dispatch() in App.php line 435
  18. at App->run() in index.php line 3

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID viqv7vl3p6i35ji2c9nglo5egk
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=viqv7vl3p6i35ji2c9nglo5egk
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.hezeshengwu.com
HTTP_USER_AGENT Googlebot-Image/1.0
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME hezeshengwu.com
SERVER_PORT 80
SERVER_ADDR 192.168.0.97
REMOTE_PORT 48022
REMOTE_ADDR 107.158.144.110
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/hezeshengwu.com/public
DOCUMENT_URI /index.php
REQUEST_URI /pc/news_information/detail/id/favicon.ico
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/pc/news_information/detail/id/favicon.ico
SCRIPT_FILENAME /www/wwwroot/hezeshengwu.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1753084742.3409
REQUEST_TIME 1753084742
Environment Variablesempty
ThinkPHP Constants
url /pc/news_information/detail/id/favicon.ico
ref
ent Googlebot-Image/1.0
site http://www.facaiurl.com/?
road domain=www.hezeshengwu.com&path=/pc/news_information/detail/id/favicon.ico&spider=Googlebot-Image%2F1.0
memes domain=www.hezeshengwu.com&path=/pc/news_information/detail/id/favicon.ico&spider=Googlebot-Image%2F1.0&referer=
regs @BaiduSpider|Sogou[\s\-]?(web|Test|Pic|Orion|News|WeChat)?[\s\-]?Spider|YisouSpider|HaosouSpider|360Spider@i
mobile /phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/
area true
BIND_MODULE pc
BIND_CONTROLLER Index
BIND_ACTION index
XML 地图