[8] ErrorException in Product.php line 45

Trying to access array offset on value of type null

  1. $this->assign('catinfo', $cat);
  2. $this->assign('pro_list', $list);
  3. $this->assign('page', $page);
  4. return $this->view->fetch();
  5. }
  6. public function pro_info()
  7. {
  8. $pro_id=input('param.id');
  9. $proinfo=$this->db->find($pro_id);
  10. if($proinfo['pro_seo_title']==""){
  11. $proinfo['pro_seo_title']=$proinfo['pro_name'];
  12. }
  13. $seo=seoformat($proinfo['pro_seo_title'],$proinfo['pro_seo_keywords'],$proinfo['pro_seo_des']);
  14. $this->assign('seo',$seo);
  15. $this->assign('proinfo', $proinfo);
  16. return $this->view->fetch();
  17. }
  18. }

Call Stack

  1. in Product.php line 45
  2. at Error::appError() in Product.php line 45
  3. at Product->pro_info()
  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('/data/www/pix-frame....') in index.php line 7

Environment Variables

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

Server/Request Data

UNIQUE_ID
ZiFK@trZvWaXvLtaUbvXGwAAABA
HTTPS
on
SSL_TLS_SNI
www.pix-frame.com
SSL_SERVER_S_DN_CN
www.pix-frame.com
SSL_SERVER_I_DN_C
US
SSL_SERVER_I_DN_O
DigiCert Inc
SSL_SERVER_I_DN_OU
www.digicert.com
SSL_SERVER_I_DN_CN
Encryption Everywhere DV TLS CA - G2
SSL_SERVER_SAN_DNS_0
www.pix-frame.com
SSL_SERVER_SAN_DNS_1
pix-frame.com
SSL_VERSION_INTERFACE
mod_ssl/2.4.6
SSL_VERSION_LIBRARY
OpenSSL/1.0.2k-fips
SSL_PROTOCOL
TLSv1.2
SSL_SECURE_RENEG
true
SSL_COMPRESS_METHOD
NULL
SSL_CIPHER
ECDHE-RSA-AES256-GCM-SHA384
SSL_CIPHER_EXPORT
false
SSL_CIPHER_USEKEYSIZE
256
SSL_CIPHER_ALGKEYSIZE
256
SSL_CLIENT_VERIFY
NONE
SSL_SERVER_M_VERSION
3
SSL_SERVER_M_SERIAL
05F471DC8D620323148B3F25A8F3A0BF
SSL_SERVER_V_START
Nov 8 00:00:00 2023 GMT
SSL_SERVER_V_END
Nov 8 23:59:59 2024 GMT
SSL_SERVER_S_DN
CN=www.pix-frame.com
SSL_SERVER_I_DN
CN=Encryption Everywhere DV TLS CA - G2,OU=www.digicert.com,O=DigiCert Inc,C=US
SSL_SERVER_A_KEY
rsaEncryption
SSL_SERVER_A_SIG
sha256WithRSAEncryption
SSL_SESSION_RESUMED
Initial
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_HOST
www.pix-frame.com
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 mod_perl/2.0.11 Perl/v5.16.3
SERVER_NAME
www.pix-frame.com
SERVER_ADDR
74.48.81.132
SERVER_PORT
443
REMOTE_ADDR
3.145.201.71
DOCUMENT_ROOT
/data/www/pix-frame.com
REQUEST_SCHEME
https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/data/www/pix-frame.com
SERVER_ADMIN
root@localhost
SCRIPT_FILENAME
/data/www/pix-frame.com/index.php
REMOTE_PORT
51423
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/index.php/anli_info/index.html
SCRIPT_NAME
/index.php
PATH_INFO
/anli_info/index.html
PATH_TRANSLATED
redirect:/index.php/index.html
PHP_SELF
/index.php/anli_info/index.html
REQUEST_TIME_FLOAT
1713457914.8805
REQUEST_TIME
1713457914
Environment Variables
empty

ThinkPHP Constants

WMCPS_CACHE_TIME
86400
APP_PATH
/data/www/pix-frame.com/application/
THINK_VERSION
5.0.24
THINK_START_TIME
1713457914.8834
THINK_START_MEM
408048
EXT
.php
DS
/
THINK_PATH
/data/www/pix-frame.com/thinkphp/
LIB_PATH
/data/www/pix-frame.com/thinkphp/library/
CORE_PATH
/data/www/pix-frame.com/thinkphp/library/think/
TRAIT_PATH
/data/www/pix-frame.com/thinkphp/library/traits/
ROOT_PATH
/data/www/pix-frame.com/
EXTEND_PATH
/data/www/pix-frame.com/extend/
VENDOR_PATH
/data/www/pix-frame.com/vendor/
RUNTIME_PATH
/data/www/pix-frame.com/runtime/
LOG_PATH
/data/www/pix-frame.com/runtime/log/
CACHE_PATH
/data/www/pix-frame.com/runtime/cache/
TEMP_PATH
/data/www/pix-frame.com/runtime/temp/
CONF_PATH
/data/www/pix-frame.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
SESSION_ID