[8] ErrorException in Goods.php line 179

未定义数组索引: itemtitle

  1. $this->assign('Category', $Category);
  2. //取同类目数据
  3. $show['G.show'] = 1;
  4. if($cateid){
  5. $GoodsList = GM::where("fqcat=".$cateid)->order("id desc")->limit(10)->select();
  6. }else{
  7. $GoodsList = GM::where("1=1")->order("id desc")->limit(10)->select();//->orderRaw('rand()')
  8. }
  9. $this->assign('GoodsList', $GoodsList);
  10. $this->assign("title","淘宝天猫".$result['itemtitle']."优惠券折扣价格");
  11. return $this->view->fetch();
  12. }
  13. }
  14. public function jump(GM $goods){
  15. $itemid = input('itemid');
  16. if (empty($itemid)) {
  17. return $this->error('亲!你迷路了');
  18. } else {

Call Stack

  1. in Goods.php line 179
  2. at Error::appError() in Goods.php line 179
  3. at Goods->detail()
  4. at ReflectionMethod->invokeArgs() in App.php line 343
  5. at App::invokeMethod() in App.php line 611
  6. at App::module() in App.php line 456
  7. at App::exec() in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/www/wwwroot/www.cai...') in index.php line 24

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
www.caiyun123.cn
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/goods/detail/itemid/582990945706.html
REDIRECT_STATUS
200
SERVER_NAME
www.caiyun123.cn
SERVER_PORT
80
SERVER_ADDR
172.16.224.102
REMOTE_PORT
47446
REMOTE_ADDR
34.229.223.223
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.caiyun123.cn/public
DOCUMENT_URI
/index.php
REQUEST_URI
/goods/detail/itemid/582990945706.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/goods/detail/itemid/582990945706.html
SCRIPT_FILENAME
/www/wwwroot/www.caiyun123.cn/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710842595.6972
REQUEST_TIME
1710842595
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.caiyun123.cn/public/../application/
TOP_SDK_WORK_DIR
/tmp/
TOP_SDK_DEV_MODE
true
TOP_AUTOLOADER_PATH
/www/wwwroot/www.caiyun123.cn/extend/TopSdk
THINK_VERSION
5.0.24
THINK_START_TIME
1710842595.6985
THINK_START_MEM
420456
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.caiyun123.cn/thinkphp/
LIB_PATH
/www/wwwroot/www.caiyun123.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/www.caiyun123.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.caiyun123.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.caiyun123.cn/
EXTEND_PATH
/www/wwwroot/www.caiyun123.cn/extend/
VENDOR_PATH
/www/wwwroot/www.caiyun123.cn/vendor/
RUNTIME_PATH
/www/wwwroot/www.caiyun123.cn/runtime/
LOG_PATH
/www/wwwroot/www.caiyun123.cn/runtime/log/
CACHE_PATH
/www/wwwroot/www.caiyun123.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/www.caiyun123.cn/runtime/temp/
CONF_PATH
/www/wwwroot/www.caiyun123.cn/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/www/wwwroot/www.caiyun123.cn/addons/