bet356体育在线官方网站-首页(歡迎您)

[8] ErrorException in Index.php line 297

Undefined index: id

  1. // brand cat info
  2. $brandCatModel = model('BrandCat');
  3. $productMaterial_model = model('productMaterial');
  4. $bCatInfo = $brandCatModel->findBrandCat(['id'=>$param['cat_id']]);
  5. $bCatInfo['path'] = explode("-", $bCatInfo['path']);
  6. array_pop($bCatInfo['path']);
  7. foreach ($bCatInfo['path'] as &$ov){
  8. $ov = $brandCatModel->findBrandCats(['c.id'=>$ov]);
  9. }
  10. $data['where'][] = ['pm.brand_cat_id','eq',$bCatInfo['id']];
  11. $materialList = $productMaterial_model->listProductMaterial($data);
  12. unset($data);
  13. $imageList = "";
  14. foreach ($materialList as $vo)
  15. {
  16. if ($vo['type']==1) {
  17. $imageList = $vo['url'];
  18. }
  19. if ($vo['type']==2) {

Call Stack

  1. in Index.php line 297
  2. at Error::appError(8, 'Undefined index: id', '/www/wwwroot/www.dgy...', 297, ['param' => ['cat_id' => 'cat', 'name' => 'id', 'name'], 'brandCatModel' => object(BrandCat), 'productMaterial_model' => object(ProductMaterial), ...]) in Index.php line 297
  3. at Index->productList()
  4. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), ['cat_id' => 'cat', 'name' => 'id', 'name', ...]) 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 27

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
2c95bdb0e4f8ede23ce47a3cdeaa25d9 94b6b899f0c72132c5295055a6d9f079
e73c473f392e5867368a923d3d7d7154 07bef20fd114d4d037e2b9489c0182fa
f2d04b2996d24f27e2b4b8a22e67099a 1ee78ca450562a90cd21ae774da2c994
863765893797924191fa8108b41f5618 36605cedb3ec92bc75bf455ac629c11a
server_name_session e12607654afe788573e19fc39dfce173
PHPSESSID m0hr2d5ide7ssb4lrd5g5racf6
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE 2c95bdb0e4f8ede23ce47a3cdeaa25d9=94b6b899f0c72132c5295055a6d9f079; e73c473f392e5867368a923d3d7d7154=07bef20fd114d4d037e2b9489c0182fa; f2d04b2996d24f27e2b4b8a22e67099a=1ee78ca450562a90cd21ae774da2c994; 863765893797924191fa8108b41f5618=36605cedb3ec92bc75bf455ac629c11a; server_name_session=e12607654afe788573e19fc39dfce173; PHPSESSID=m0hr2d5ide7ssb4lrd5g5racf6
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.dgylec.com
HTTP_USER_AGENT Mozilla/5.0 (compatible; SERankingBacklinksBot/1.0; +https://seranking.com/backlinks-crawler)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME dgylec.com
SERVER_PORT 443
SERVER_ADDR 172.18.221.219
REMOTE_PORT 51862
REMOTE_ADDR 50.118.254.114
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.dgylec.com/public
DOCUMENT_URI /index.php
REQUEST_URI /product-list/cat_id/3379/name/AS+Series+(1210+).html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/product-list/cat_id/3379/name/AS%2BSeries%2B(1210%2B).html
SCRIPT_FILENAME /www/wwwroot/www.dgylec.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1778254665.6629
REQUEST_TIME 1778254665
Environment Variablesempty
ThinkPHP Constants
DS /
EXTEND_PATH ../extend/
Baidu
sogou