[8] ErrorException in Product.php line 96

未定义数组索引: title

  1. if ($productCategory['parentid'] != 0){
  2. $left = model('product')->getProcateDataByParentId($productCategory['parentid']);
  3. $this->assign('left',$left);
  4. }
  5. $productData['keywords'] = str_replace(',',',',$productData['keywords']);
  6. $productData['keywords'] = str_replace('[dq]','',$productData['keywords']);
  7. $keywordsArray = explode(',',$productData['keywords']);
  8. $t = $productData['title'];
  9. $k = $productData['keywords'];
  10. $d = $productData['description'];
  11. $this->assign('model',$model);
  12. $this->assign('pro_cate_urlname',$pro_cate_urlname);
  13. $this->set_system($t,$k,$d);
  14. $this->assign('new_art',$new_art);
  15. $this->assign('productNextData',$productNextData);
  16. $this->assign('productLastData',$productLastData);

Call Stack

  1. in Product.php line 96
  2. at Error::appError(8, 'Undefined index: tit...', 'D:\wwwroot\hflslaser...', 96, ['model' => 'Product', 'urlname' => 'sjz-110', 'productData' => ['keywords' => ''], ...]) in Product.php line 96
  3. at Product->details()
  4. at ReflectionMethod->invokeArgs(object(Product), []) in App.php line 343
  5. at App::invokeMethod([object(Product), 'details'], []) in App.php line 611
  6. at App::module([null, 'product', 'details'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  7. at App::exec(['type' => 'module', 'module' => [null, 'product', 'details'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  8. at App::run() in start.php line 18
  9. at require('D:\wwwroot\hflslaser...') in index.php line 17

Exception Datas

Error Context
model Product
urlname sjz-110
productData { "keywords": "" }
cateId Resource
productCategory Resource
pro_cate_urlname Resource
new_art [ { "id": 638, "title": "\u5149\u7ea4\u6253\u6807\u673a\u548c\u7d2b\u5916\u6253\u6807\u673a\u7684\u533a\u522b", "urlname": "xwzx-638" }, { "id": 637, "title": "\u6fc0\u5149\u624b\u6301\u710a\u63a5\u673a\u7684\u4f18\u70b9", "urlname": "xwzx-637" }, { "id": 636, "title": "\u6fc0\u5149\u6253\u6807\u673a\u4f7f\u7528\u6559\u7a0b", "urlname": "xwzx-636" }, { "id": 635, "title": "\u5149\u7ea4\u6253\u6807\u673a\u4f7f\u7528\u5bff\u547d", "urlname": "xwzx-635" }, { "id": 634, "title": "\u6fc0\u5149\u624b\u6301\u710a\u63a5\u673a\u4f7f\u7528\u65b9\u6cd5", "urlname": "xwzx-634" } ]
productNextData []
productLastData []
relatedNews [ { "id": 638, "title": "\u5149\u7ea4\u6253\u6807\u673a\u548c\u7d2b\u5916\u6253\u6807\u673a\u7684\u533a\u522b", "urlname": "xwzx-638" }, { "id": 637, "title": "\u6fc0\u5149\u624b\u6301\u710a\u63a5\u673a\u7684\u4f18\u70b9", "urlname": "xwzx-637" }, { "id": 636, "title": "\u6fc0\u5149\u6253\u6807\u673a\u4f7f\u7528\u6559\u7a0b", "urlname": "xwzx-636" }, { "id": 635, "title": "\u5149\u7ea4\u6253\u6807\u673a\u4f7f\u7528\u5bff\u547d", "urlname": "xwzx-635" } ]
relatedProducts []
areaProduct [ { "id": 3541, "codeid": null, "parentid": -1, "city": "\u5e7f\u5dde", "citypy": "Guangzhou", "firstletter": "g", "paixu": 0, "isuse": 1, "recommend": 1 }, { "id": 3542, "codeid": null, "parentid": -1, "city": "\u5e7f\u4e1c", "citypy": "Guangdong", "firstletter": "G", "paixu": 0, "isuse": 1, "recommend": 1 }, { "id": 3543, "codeid": null, "parentid": -1, "city": "\u4e0a\u6d77", "citypy": "Shanghai", "firstletter": "S", "paixu": 0, "isuse": 1, "recommend": 1 }, { "id": 3544, "codeid": null, "parentid": -1, "city": "\u6df1\u5733", "citypy": "Shenzhen", "firstletter": "S", "paixu": 0, "isuse": 1, "recommend": 1 }, { "id": 3545, "codeid": null, "parentid": -1, "city": "\u82cf\u5dde", "citypy": "Suzhou", "firstletter": "S", "paixu": 0, "isuse": 1, "recommend": 1 }, { "id": 3546, "codeid": null, "parentid": -1, "city": "\u5357\u4eac", "citypy": "Nanjing", "firstletter": "N", "paixu": 0, "isuse": 1, "recommend": 1 }, { "id": 3547, "codeid": null, "parentid": -1, "city": "\u6c5f\u82cf", "citypy": "Jiangsu", "firstletter": "J", "paixu": 0, "isuse": 1, "recommend": 1 }, { "id": 3548, "codeid": null, "parentid": -1, "city": "\u5408\u80a5", "citypy": "Hefei", "firstletter": "H", "paixu": 0, "isuse": 1, "recommend": 1 }, { "id": 3549, "codeid": null, "parentid": -1, "city": "\u5b89\u5fbd", "citypy": "Anhui", "firstletter": "A", "paixu": 0, "isuse": 1, "recommend": 1 } ]
keywordsArray [ "" ]

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

PATH
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\
SYSTEMROOT
C:\Windows
COMSPEC
C:\Windows\system32\cmd.exe
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR
C:\Windows
PHPRC
D:/phpstudy_pro/Extensions/php/php5.6.9nts
_FCGI_SHUTDOWN_EVENT_
10280
HTTP_CONNECTION
close
SCRIPT_NAME
/index.php
REQUEST_URI
/pro/Shanghai/sjz-110.html
QUERY_STRING
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_URL
/pro/Shanghai/sjz-110.html
REMOTE_PORT
50014
SCRIPT_FILENAME
D:/wwwroot/hflslaser.com/public/index.php
SERVER_ADMIN
admin@example.com
CONTEXT_DOCUMENT_ROOT
D:/wwwroot/hflslaser.com/public
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
D:/wwwroot/hflslaser.com/public
REMOTE_ADDR
52.205.159.48
SERVER_PORT
80
SERVER_ADDR
172.16.238.226
SERVER_NAME
www.hflslaser.com
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
SystemRoot
C:\Windows
HTTP_HOST
www.hflslaser.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
REDIRECT_STATUS
200
REDIRECT_PATH_INFO
pro/Shanghai/sjz-110.html
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711648467.2907
REQUEST_TIME
1711648467
PATH_INFO
pro/Shanghai/sjz-110.html
Environment Variables
empty

ThinkPHP Constants

PUBILC_PATH
D:\wwwroot\hflslaser.com\public/
APP_PATH
D:\wwwroot\hflslaser.com\public/../application/
THINK_VERSION
5.0.11
THINK_START_TIME
1711648467.2917
THINK_START_MEM
256400
EXT
.php
DS
\
THINK_PATH
D:\wwwroot\hflslaser.com\thinkphp\
LIB_PATH
D:\wwwroot\hflslaser.com\thinkphp\library\
CORE_PATH
D:\wwwroot\hflslaser.com\thinkphp\library\think\
TRAIT_PATH
D:\wwwroot\hflslaser.com\thinkphp\library\traits\
ROOT_PATH
D:\wwwroot\hflslaser.com\
EXTEND_PATH
D:\wwwroot\hflslaser.com\extend\
VENDOR_PATH
D:\wwwroot\hflslaser.com\vendor\
RUNTIME_PATH
D:\wwwroot\hflslaser.com\runtime\
LOG_PATH
D:\wwwroot\hflslaser.com\runtime\log\
CACHE_PATH
D:\wwwroot\hflslaser.com\runtime\cache\
TEMP_PATH
D:\wwwroot\hflslaser.com\runtime\temp\
CONF_PATH
D:\wwwroot\hflslaser.com\public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true