[8] ErrorException in Shops.php line 83

未定义数组索引: shopHomeTheme

  1. // dump($data['shop'] );die();
  2. $this->assign('data',$data);
  3. $this->assign('msort',(int)input("param.msort",0));//筛选条件
  4. $this->assign('mdesc',(int)input("param.mdesc",1));//升降序
  5. $this->assign('sprice',input("param.sprice"));//价格范围
  6. $this->assign('eprice',input("param.eprice"));
  7. $this->assign('ct1',(int)input("param.ct1",0));//一级分类
  8. $this->assign('ct2',(int)input("param.ct2",0));//二级分类
  9. $this->assign('shopId',$shopId);//店铺id
  10. return $this->fetch($data['shop']["shopHomeTheme"]);
  11. }
  12. /**
  13. * 店铺分类
  14. */
  15. public function goods(){
  16. $s = model('shops');
  17. $shopId = (int)input("param.shopId/d");
  18. $data['shop'] = $s->getShopInfo($shopId);

Call Stack

  1. in Shops.php line 83
  2. at Error::appError(8, 'Undefined index: sho...', '/docker/websites/aft...', 83, ['shopId' => 26, 's' => object(Shops), 'data' => ['shop' => ['shopQQ' => 0, 'shopWangWang' => 0], 'list' => ['total' => 0, 'per_page' => 16, 'current_page' => 1, ...]], ...]) in Shops.php line 83
  3. at Shops->index()
  4. at ReflectionMethod->invokeArgs(object(Shops), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Shops), object(ReflectionMethod), ['shopId' => '26', 'convert' => false]) 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 30

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST canopyawning.en.aftrade.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME aftrade.com
SERVER_PORT 80
SERVER_ADDR 172.27.197.131
REMOTE_PORT 49934
REMOTE_ADDR 3.85.211.2
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /docker/websites/aftrade.com
DOCUMENT_URI /index.php
REQUEST_URI /shop-26.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/shop-26.html
SCRIPT_FILENAME /docker/websites/aftrade.com/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711649804.8627
REQUEST_TIME 1711649804
Environment Variablesempty
ThinkPHP Constants
APP_PATH /docker/websites/aftrade.com/wstmart/
DS /
WST_ADDON_PATH ./addons/
ADDON_PATH /docker/websites/aftrade.com/addons/