永利集团-www.304am.com|官方网站-Application program

[8] ErrorException in Product.php line 528

Trying to access array offset on value of type null

  1. // $address_data['address'] = $real_address;
  2. // $ids = $params['id'] ?? '';
  3. $ids = $id;
  4. $month = date('m');
  5. $day = date('d');
  6. $goods = Db::name('shopro_news_product')->where(['id' => $ids])->find();
  7. $this->info_desc = $goods['desc'].'-';
  8. $this->assign('info_desc',$this->info_desc);
  9. $this->info_keyword = $goods['catalog'].','.$goods['name'].',';
  10. $this->assign('info_keyword',$this->info_keyword);
  11. if($goods['column_type'] == 'mRNA-LNP产品'){
  12. $title = $goods['encoding_mrna'];
  13. }else{
  14. $title = $goods['name'];
  15. }

Call Stack

  1. in Product.php line 528
  2. at Error::appError() in Product.php line 528
  3. at Product->product_info() in Product.php line 1357
  4. at Product->product_idvinfo()
  5. at ReflectionMethod->invokeArgs() in App.php line 343
  6. at App::invokeMethod() in App.php line 611
  7. at App::module() in App.php line 456
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/mnt/www/yuantai/thi...') in index.php line 23

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
tgc4b9ch9o6i314gsmu6llpo2h
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_X_ALICDN_DA_VIA
61.170.77.225,101.37.183.44
HTTP_ALI_SWIFT_GZIP
on
HTTP_ALI_SWIFT_BROTLI
on
HTTP_ALI_TPROXY_UREQUEST_TIMEOUT
60
HTTP_ALI_SWIFT_UKEEPALIVE_TIMEOUT
60
HTTP_ALI_SWIFT_UREQUEST_TIMEOUT
60
HTTP_ALI_CDN_APPVIEW_NAME
cdn-tengine
HTTP_COOKIE
PHPSESSID=tgc4b9ch9o6i314gsmu6llpo2h
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ALI_SWIFT_FORCE_TTL_CODE
400=0
HTTP_X_CLIENT_SCHEME
https
HTTP_X_FORWARDED_FOR
107.158.144.90
HTTP_ALI_SWIFT_STAT_HOST
www.promab.cn
HTTP_ALI_SWIFT_LOG_HOST
www.promab.cn
HTTP_ALI_CDN_REAL_IP
107.158.144.90
HTTP_ALI_CDN_REAL_PORT
37192
HTTP_EAGLEEYE_TRACEID
3daa4d1817454830856754158e
HTTP_VIA
cn6020.l1, l2et135-6.l2
HTTP_HOST
www.promab.cn
PATH_INFO
/product_idvinfo/35929
REDIRECT_STATUS
200
SERVER_NAME
www.promab.cn
SERVER_PORT
443
SERVER_ADDR
172.25.22.102
REMOTE_PORT
40128
REMOTE_ADDR
101.37.183.44
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/mnt/www/yuantai/public
DOCUMENT_URI
/index.php
REQUEST_URI
/product_idvinfo/35929
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/product_idvinfo/35929
SCRIPT_FILENAME
/mnt/www/yuantai/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1745483085.6996
REQUEST_TIME
1745483085
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/mnt/www/yuantai/public/../application/
THINK_VERSION
5.0.26
THINK_START_TIME
1745483085.6999
THINK_START_MEM
363848
EXT
.php
DS
/
THINK_PATH
/mnt/www/yuantai/thinkphp/
LIB_PATH
/mnt/www/yuantai/thinkphp/library/
CORE_PATH
/mnt/www/yuantai/thinkphp/library/think/
TRAIT_PATH
/mnt/www/yuantai/thinkphp/library/traits/
ROOT_PATH
/mnt/www/yuantai/
EXTEND_PATH
/mnt/www/yuantai/extend/
VENDOR_PATH
/mnt/www/yuantai/vendor/
RUNTIME_PATH
/mnt/www/yuantai/runtime/
LOG_PATH
/mnt/www/yuantai/runtime/log/
CACHE_PATH
/mnt/www/yuantai/runtime/cache/
TEMP_PATH
/mnt/www/yuantai/runtime/temp/
CONF_PATH
/mnt/www/yuantai/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/mnt/www/yuantai/addons/
XML 地图