威尼斯welcome登录入口|威尼斯人官网

[8] ErrorException in Product.php line 41

未定义数组索引: maxid

  1. $selectclassmins[$kk]['lists'] = $selectproduct;
  2. }
  3. $list[$k] = $selectclassmins;
  4. }
  5. $this->assign('selectclassmaxs', $selectclassmaxs);
  6. $this->assign('list', $list);
  7. //查看大分类下面的banner
  8. $wherss = " id = '".$data['maxid']."' ";
  9. $banners = DB::name('classmax')->where($wherss)->order('id','asc')->find();
  10. $this->assign('banners', $banners);
  11. //查看产品banner
  12. $wher = " yyid = '".$yyid."' AND navid = '3' ";
  13. $selectproducts = DB::name('banner')->where($wher)->order('id','asc')->limit(0,1)->select();
  14. $this->assign('selectproducts', $selectproducts);
  15. //查询所有的二级大分类

Call Stack

  1. in Product.php line 41
  2. at Error::appError(8, 'Undefined index: max...', '/home/huifeng123xh1u...', 41, ['data' => [], 'yyid' => '1', 'where' => ' yyid = '1' ', ...]) in Product.php line 41
  3. at Product->product()
  4. at ReflectionMethod->invokeArgs(object(Product), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Product), object(ReflectionMethod), []) in Module.php line 131
  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 136
  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 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID crb6ugj8qgomsth0ef5cchf995
Sessionempty
Server/Request Data
REDIRECT_REDIRECT_UNIQUE_ID Y5Bk@hNKFFQaQHx9Kgx@-AAAABU
REDIRECT_REDIRECT_PHPRC /home/huifeng123xh1uli1fdennng91c203/others
REDIRECT_REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID Y5Bk@hNKFFQaQHx9Kgx@-AAAABU
REDIRECT_PHPRC /home/huifeng123xh1uli1fdennng91c203/others
REDIRECT_HANDLER php-cgi
REDIRECT_STATUS 200
UNIQUE_ID Y5Bk@hNKFFQaQHx9Kgx@-AAAABU
PHPRC /home/huifeng123xh1uli1fdennng91c203/others
HTTP_X_FORWARDED_FOR 172.121.181.114
HTTP_X_REAL_IP 172.121.181.114
HTTP_HOST www.huifeng-co.com
HTTP_CONNECTION close
HTTP_USER_AGENT Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip
HTTP_COOKIE PHPSESSID=crb6ugj8qgomsth0ef5cchf995
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
Apache Server at www.huifeng-co.com Port 80
SERVER_SOFTWARE Apache
SERVER_NAME www.huifeng-co.com
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 172.121.181.114
DOCUMENT_ROOT /home/huifeng123xh1uli1fdennng91c203/wwwroot/public
REQUEST_SCHEME http
CONTEXT_PREFIX /php-run-as-cgi
CONTEXT_DOCUMENT_ROOT /usr/php5.6/bin
SERVER_ADMIN webmaster@huifeng123
SCRIPT_FILENAME /home/huifeng123xh1uli1fdennng91c203/wwwroot/public/index.php
REMOTE_PORT 53156
REDIRECT_URL /index.php/index/product/product.html
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /index/product/product.html
SCRIPT_NAME /index.php
PATH_INFO /index/product/product.html
PATH_TRANSLATED /home/huifeng123xh1uli1fdennng91c203/wwwroot/public/index/product/product.html
ORIG_PATH_INFO /index.php/index/product/product.html
ORIG_SCRIPT_NAME /php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME /usr/php5.6/bin/php-cgi
ORIG_PATH_TRANSLATED /home/huifeng123xh1uli1fdennng91c203/wwwroot/public/index.php/index/product/product.html
PHP_SELF /index.php/index/product/product.html
REQUEST_TIME_FLOAT 1670407418.2083
REQUEST_TIME 1670407418
Environment Variablesempty
ThinkPHP Constants
IMG_URL http://192.168.31.184/zhongxintang/public
Baidu
sogou