[8] ErrorException in Pictures.php line 53

未定义数组索引: pk_works_main

  1. $row = db("view_worsmain")->where("view_uuid", $pkid)->find();
  2. $com_info = db("company")->where("company_id", $row["company_id"])->find();
  3. $row["qq"] = $com_info["qq"];
  4. $row["landline"] = $com_info["landline"];
  5. $row["city_name"] = Common::getXzqName($com_info['city']);
  6. $this->assign("row", $row);
  7. //推荐全景
  8. $this->assign("recommend_list", $this->get_index_recommend($ssxzq));
  9. //评论
  10. $this->assign("comment_list", $this->get_comment_list($row['pk_works_main']));
  11. //搜索引擎
  12. $desciption = cutstr_html($row['profile'], 300);
  13. $company_name = db("company")->where("company_id", $row["company_id"])->value("company_name");
  14. $config = Common::getSubstationSiteConfig($row['name']."-".$company_name.'-房点全景家', $row['name']."-".$company_name.'-房点全景家', $desciption);
  15. $this->assign('config', $config);
  16. //检查用户打开方式是1、PC 2、手机浏览器 3、IOS APP
  17. $is_open_way = check_wap();
  18. if($is_open_way==1){
  19. //全景广告图

Call Stack

  1. in Pictures.php line 53
  2. at Error::appError(8, 'Undefined index: pk_...', '/www/wwwroot/fangdia...', 53, ['pkid' => '82ae2cad455a5a31d02b...', 'ssxzq' => 0, 'row' => ['qq' => null, 'landline' => null, 'city_name' => ''], ...]) in Pictures.php line 53
  3. at Pictures->detail()
  4. at ReflectionMethod->invokeArgs(object(Pictures), []) in App.php line 343
  5. at App::invokeMethod([object(Pictures), 'detail'], []) in App.php line 611
  6. at App::module(['show', 'pictures', 'detail'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  7. at App::exec(['type' => 'module', 'module' => ['show', 'pictures', 'detail'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/www/wwwroot/fangdia...') in index.php line 20

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
case.jiasc.com
PATH_INFO
/picdetail/82ae2cad455a5a31d02b910d89f9453a
REDIRECT_STATUS
200
SERVER_NAME
case.jiasc.com
SERVER_PORT
443
SERVER_ADDR
172.16.55.23
REMOTE_PORT
56940
REMOTE_ADDR
3.239.119.159
SERVER_SOFTWARE
nginx/1.16.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/fangdian-VR-View/public
DOCUMENT_URI
/index.php
REQUEST_URI
/picdetail/82ae2cad455a5a31d02b910d89f9453a
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/picdetail/82ae2cad455a5a31d02b910d89f9453a
SCRIPT_FILENAME
/www/wwwroot/fangdian-VR-View/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711663435.4923
REQUEST_TIME
1711663435
Environment Variables
empty

ThinkPHP Constants

APP_ROOT
/www/wwwroot/fangdian-VR-View/public
APP_PATH
/www/wwwroot/fangdian-VR-View/public/../application/
EXTEND_PATH
/www/wwwroot/fangdian-VR-View/public/../extend/
XMJK_TOKEN
Hvw6euk4
THINK_VERSION
5.0.23
THINK_START_TIME
1711663435.4928
THINK_START_MEM
404024
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/fangdian-VR-View/thinkphp/
LIB_PATH
/www/wwwroot/fangdian-VR-View/thinkphp/library/
CORE_PATH
/www/wwwroot/fangdian-VR-View/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/fangdian-VR-View/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/fangdian-VR-View/
VENDOR_PATH
/www/wwwroot/fangdian-VR-View/vendor/
RUNTIME_PATH
/www/wwwroot/fangdian-VR-View/runtime/
LOG_PATH
/www/wwwroot/fangdian-VR-View/runtime/log/
CACHE_PATH
/www/wwwroot/fangdian-VR-View/runtime/cache/
TEMP_PATH
/www/wwwroot/fangdian-VR-View/runtime/temp/
CONF_PATH
/www/wwwroot/fangdian-VR-View/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false