[8] ErrorException in Live.php line 50

未定义数组索引: start_time

  1. $this->checkBuy();
  2. $this->model->incView($this->lid);
  3. $live = $this->model->get($this->lid);
  4. $time = date("Y-m-d H:i:s", time());
  5. $live['has_time'] = 0;
  6. if ($live['start_time'] > $time) {
  7. $live['has_time'] = 1;
  8. }
  9. $live = $this->getCompany($live);
  10. $collect = new Collect();
  11. $live = $collect->checkCollectAndCart($this->auth->getUser(), $live);
  12. $this->redirect($live['pc']);

Call Stack

  1. in Live.php line 50
  2. at Error::appError(8, 'Undefined index: sta...', '/www/wwwroot/001yixu...', 50, ['live' => ['has_time' => 0], 'time' => '2024-03-29 14:43:41']) in Live.php line 50
  3. at Live->detail()
  4. at ReflectionMethod->invokeArgs(object(Live), []) in App.php line 343
  5. at App::invokeMethod([object(Live), 'detail'], []) in App.php line 611
  6. at App::module(['index', 'live', 'detail'], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '', ...], false) in App.php line 456
  7. at App::exec(['type' => 'module', 'module' => ['index', 'live', 'detail']], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '', ...]) in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/www/wwwroot/001yixu...') in index.php line 27

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
001yixue.com
PATH_INFO
/index/live/detail/lid/852918/pid/2.html
REDIRECT_STATUS
200
SERVER_NAME
001yixue.com
SERVER_PORT
443
SERVER_ADDR
172.19.6.213
REMOTE_PORT
42616
REMOTE_ADDR
35.175.200.199
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/001yixue.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/live/detail/lid/852918/pid/2.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/live/detail/lid/852918/pid/2.html
SCRIPT_FILENAME
/www/wwwroot/001yixue.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711694621.1018
REQUEST_TIME
1711694621
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/001yixue.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711694621.1023
THINK_START_MEM
379752
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/001yixue.com/thinkphp/
LIB_PATH
/www/wwwroot/001yixue.com/thinkphp/library/
CORE_PATH
/www/wwwroot/001yixue.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/001yixue.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/001yixue.com/
EXTEND_PATH
/www/wwwroot/001yixue.com/extend/
VENDOR_PATH
/www/wwwroot/001yixue.com/vendor/
RUNTIME_PATH
/www/wwwroot/001yixue.com/runtime/
LOG_PATH
/www/wwwroot/001yixue.com/runtime/log/
CACHE_PATH
/www/wwwroot/001yixue.com/runtime/cache/
TEMP_PATH
/www/wwwroot/001yixue.com/runtime/temp/
CONF_PATH
/www/wwwroot/001yixue.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/001yixue.com/addons/