[8] ErrorException in Goodsdetail.php line 67

未定义数组索引: goods_image_url

  1. $goods_recommend_get = $this->goods_recommend_get($PostData);
  2. $CommonConfig = new CommonConfig();
  3. $navigation_bar = $CommonConfig->return_navigation_bar();
  4. $tpshop_config_array = $CommonConfig->tpshop_config_array();
  5. $tuijian = $CommonConfig->roudanzhibo();
  6. $this->assign('navigation_bar',$navigation_bar); //返回导航栏的信息
  7. $this->assign('tpshop_config',$tpshop_config_array); //大拼客肉单直播产品数据
  8. $this->assign('tuijian',$tuijian); //推荐商品
  9. $this->assign('goods',$goodsList); //大拼客肉单直播产品数据
  10. $this->assign('goods_images_list',[$goodsList['goods_image_url']]); //图片相册
  11. $agent = $CommonConfig->check_wap();
  12. if( $agent ){
  13. //当前拾手机端进行访问, 跳转到手机端的模板页面
  14. return view('mobiledetail');
  15. }
  16. else{
  17. return view();
  18. }
  19. }

Call Stack

  1. in Goodsdetail.php line 67
  2. at Error::appError(8, 'Undefined index: goo...', '/var/www/html/wx/app...', 67, ['goods_id' => 'E9n2-cnFsrlPCnrhwfDb...', 'goodsList' => ['share' => 20, 'short_url' => 'https://sudaxin.com/...', 'desc_txt' => '高', ...], 'PostData' => ['offset' => 0, 'limit' => 20, 'channel_type' => 2], ...]) in Goodsdetail.php line 67
  3. at Goodsdetail->index()
  4. at ReflectionMethod->invokeArgs(object(Goodsdetail), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Goodsdetail), object(ReflectionMethod), ['goodsid' => 'E9n2-cnFsrlPCnrhwfDb...']) in Module.php line 132
  6. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  7. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  8. at Middleware->think\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  10. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 432
  13. at App->think\{closure}(object(Request), object(Closure), null)
  14. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  17. at Middleware->dispatch(object(Request)) in App.php line 435
  18. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
UNIQUE_ID ZgWx8F5N9ay2c60woEQVXAAAAAg
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST 90jo.com
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.24
SERVER_NAME 90jo.com
SERVER_ADDR 172.18.55.158
SERVER_PORT 80
REMOTE_ADDR 18.208.172.3
DOCUMENT_ROOT /var/www/html/wx/public/
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/html/wx/public/
SERVER_ADMIN root@localhost
SCRIPT_FILENAME /var/www/html/wx/public/index.php
REMOTE_PORT 50184
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /index.php/index/goodsdetail/index/goodsid/E9n2-cnFsrlPCnrhwfDbons9C4iYCfV3_JKgezNnG5
SCRIPT_NAME /index.php
PATH_INFO /index/goodsdetail/index/goodsid/E9n2-cnFsrlPCnrhwfDbons9C4iYCfV3_JKgezNnG5
PATH_TRANSLATED /var/www/html/wx/public/index/goodsdetail/index/goodsid/E9n2-cnFsrlPCnrhwfDbons9C4iYCfV3_JKgezNnG5
PHP_SELF /index.php/index/goodsdetail/index/goodsid/E9n2-cnFsrlPCnrhwfDbons9C4iYCfV3_JKgezNnG5
REQUEST_TIME_FLOAT 1711649264.444
REQUEST_TIME 1711649264
Environment Variablesempty
ThinkPHP Constants
QINIU_FUNCTIONS_VERSION 7.2.9