中国·yl23411永利(集团有限公司)-官方网站

[0] ThrowableError in Index.php line 151

致命错误: Cannot use object of type stdClass as array

  1. //交易动态
  2. //$tradingdynamics = get_content_hot (56, 10);
  3. if(Request::isAjax()) {
  4. $data['data'] = $info['data'];
  5. $data['totalPages'] = ceil($info['data']->total()/$info['cate']['limit']);
  6. $data['page_html'] = $info['data']->render();
  7. return json($data);
  8. }
  9. else{
  10. $info['cate']['seo_title'] = empty($info['cate']['seo_title'])?$this->current_site->seo_title:$info['cate']['seo_title'];
  11. $info['cate']['seo_keywords'] = empty($info['cate']['seo_keywords'])?$this->current_site->seo_keywords:$info['cate']['seo_keywords'];
  12. $info['cate']['seo_description'] = empty($info['cate']['seo_description'])?$this->current_site->seo_description:$info['cate']['seo_description'];
  13. $this->assign(['seo_title' => $info['cate']['seo_title']]);
  14. $this->assign(['seo_keywords' => $info['cate']['seo_keywords']]);
  15. $this->assign(['seo_content' => $info['cate']['seo_description']]);
  16. $this->assign(['hots' => $hots]);
  17. $this->assign(['tradingdynamics' => $tradingdynamics]);
  18. $this->assign(['type_arr' => $type_arr]);

Call Stack

  1. in Index.php line 151
  2. at Index->list()
  3. at ReflectionMethod->invokeArgs() in Container.php line 395
  4. at Container->invokeReflectMethod() in Module.php line 132
  5. at Module->think\route\dispatch\{closure}()
  6. at call_user_func_array() in Middleware.php line 185
  7. at Middleware->think\{closure}()
  8. at call_user_func() in Middleware.php line 130
  9. at Middleware->dispatch() in Module.php line 137
  10. at Module->exec() in Dispatch.php line 168
  11. at Dispatch->run() in App.php line 432
  12. at App->think\{closure}()
  13. at call_user_func_array() in Middleware.php line 185
  14. at Middleware->think\{closure}()
  15. at call_user_func() in Middleware.php line 130
  16. at Middleware->dispatch() in App.php line 435
  17. at App->run() in index.php line 12

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
mike_home_lang chs
PHPSESSID h0ss23vtnq3v3srpv9i2vs78v0
Session
tj_key 9031
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE mike_home_lang=chs; PHPSESSID=h0ss23vtnq3v3srpv9i2vs78v0
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.szfutureway.com
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME szfutureway.com
SERVER_PORT 443
SERVER_ADDR 172.29.118.61
REMOTE_PORT 58790
REMOTE_ADDR 23.231.76.250
SERVER_SOFTWARE nginx/1.21.4
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/szfutureway.com
DOCUMENT_URI /index.php
REQUEST_URI /news/javascrip:
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/news/javascrip:
SCRIPT_FILENAME /www/wwwroot/szfutureway.com/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1773826699.3114
REQUEST_TIME 1773826699
Environment Variablesempty
ThinkPHP Constants
EXTEND_PATH /www/wwwroot/szfutureway.com/extend/
Baidu
sogou