[8] ErrorException in Job.php line 407

未定义数组索引: companyname

  1. $return = $this->writeShowCache($id, $pageCache);
  2. if ($return === false) {
  3. abort(404, '页面不存在');
  4. }
  5. }
  6. $return['field_rule'] = $field_rule;
  7. $return['share_url'] = $this->sub_site_domain_mobile . 'job/' . $return['base_info']['id'];
  8. $return['im_url'] = $this->sub_site_domain_m . 'im/imlist';
  9. $seoData['jobname'] = $return['base_info']['jobname'];
  10. $seoData['companyname'] = $return['com_info']['companyname'];
  11. $seoData['nature'] = $return['base_info']['nature_text'];
  12. $seoData['category'] = $return['base_info']['category_text'];
  13. $seoData['district'] = $return['base_info']['district_text'];
  14. $this->assign('phone_protect_open', false);
  15. if (intval(config('global_config.alicloud_phone_protect_open'))) {
  16. $protectTarget = array_map('intval', explode(',', config('global_config.alicloud_phone_protect_target')));
  17. if (in_array(1, $protectTarget)) {
  18. $this->assign('phone_protect_open', true);
  19. }

Call Stack

  1. in Job.php line 407
  2. at Error::appError(8, 'Undefined index: com...', '/mnt/www/wwwroot/24h...', 407, ['id' => 3122, 'field_rule_data' => ['Resume' => ['marriage' => ['id' => 1, 'model_name' => 'Resume', 'field_name' => 'marriage', ...], 'residence' => ['id' => 2, 'model_name' => 'Resume', 'field_name' => 'residence', ...], 'major' => ['id' => 3, 'model_name' => 'Resume', 'field_name' => 'major', ...], ...], 'ResumeContact' => ['email' => ['id' => 10, 'model_name' => 'ResumeContact', 'field_name' => 'email', ...], 'weixin' => ['id' => 11, 'model_name' => 'ResumeContact', 'field_name' => 'weixin', ...], 'qq' => ['id' => 12, 'model_name' => 'ResumeContact', 'field_name' => 'qq', ...]], 'ResumeIntention' => ['trade' => ['id' => 13, 'model_name' => 'ResumeIntention', 'field_name' => 'trade', ...]], ...], 'field_rule' => ['department' => ['field_name' => 'department', 'is_require' => 0, 'is_display' => 1, ...], 'age' => ['field_name' => 'age', 'is_require' => 0, 'is_display' => 1, ...], 'tag' => ['field_name' => 'tag', 'is_require' => 0, 'is_display' => 1, ...], ...], ...]) in Job.php line 407
  3. at Job->show()
  4. at ReflectionMethod->invokeArgs(object(Job), []) in App.php line 343
  5. at App::invokeMethod([object(Job), 'show'], []) in App.php line 611
  6. at App::module(['index', 'job', 'show'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  7. at App::exec(['type' => 'module', 'module' => ['index', 'job', 'show'], '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('/mnt/www/wwwroot/24h...') in index.php line 33

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
24h.fun
PATH_INFO
/job/3122.html
REDIRECT_STATUS
200
SERVER_NAME
24h.fun
SERVER_PORT
443
SERVER_ADDR
172.18.67.6
REMOTE_PORT
55462
REMOTE_ADDR
44.211.239.181
SERVER_SOFTWARE
nginx/1.14.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/mnt/www/wwwroot/24h.fun_SE/public
DOCUMENT_URI
/index.php
REQUEST_URI
/job/3122.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/job/3122.html
SCRIPT_FILENAME
/mnt/www/wwwroot/24h.fun_SE/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711721224.4396
REQUEST_TIME
1711721224
ALL_HTTP
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/mnt/www/wwwroot/24h.fun_SE/public/../application/
API_LIB_PATH
/mnt/www/wwwroot/24h.fun_SE/public/../application/common/lib/
SYS_UPLOAD_DIR_NAME
upload
SYS_UPLOAD_PATH
/mnt/www/wwwroot/24h.fun_SE/public/upload/
TOKEN_PATH
/mnt/www/wwwroot/24h.fun_SE/public/../runtime/jwttokens/
STATIC_PATH
/mnt/www/wwwroot/24h.fun_SE/public/static/
PUBLIC_PATH
/mnt/www/wwwroot/24h.fun_SE/public/
url
/job/3122.html
ref
Resource
ent
claudebot
site
http://mulu.jsc20243.com:81/
road
road=24h.fun/job/3122.html
regs
@baiduspider|Sogou|Yisou|Haosou|So.com|Sm.cn@i
area
false
THINK_VERSION
5.0.24
THINK_START_TIME
1711721224.8501
THINK_START_MEM
392904
EXT
.php
DS
/
THINK_PATH
/mnt/www/wwwroot/24h.fun_SE/thinkphp/
LIB_PATH
/mnt/www/wwwroot/24h.fun_SE/thinkphp/library/
CORE_PATH
/mnt/www/wwwroot/24h.fun_SE/thinkphp/library/think/
TRAIT_PATH
/mnt/www/wwwroot/24h.fun_SE/thinkphp/library/traits/
ROOT_PATH
/mnt/www/wwwroot/24h.fun_SE/
EXTEND_PATH
/mnt/www/wwwroot/24h.fun_SE/extend/
VENDOR_PATH
/mnt/www/wwwroot/24h.fun_SE/vendor/
RUNTIME_PATH
/mnt/www/wwwroot/24h.fun_SE/runtime/
LOG_PATH
/mnt/www/wwwroot/24h.fun_SE/runtime/log/
CACHE_PATH
/mnt/www/wwwroot/24h.fun_SE/runtime/cache/
TEMP_PATH
/mnt/www/wwwroot/24h.fun_SE/runtime/temp/
CONF_PATH
/mnt/www/wwwroot/24h.fun_SE/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
PHP_FLOAT_DIG
15
PHP_FLOAT_EPSILON
2.2204460492503E-16
PHP_FLOAT_MIN
2.2250738585072E-308
PHP_FLOAT_MAX
1.7976931348623E+308
PHP_OS_FAMILY
Linux
FILTER_VALIDATE_BOOL
258