[64] ErrorException in common.php line 437

Cannot use isset() on the result of a function call (you can use "null !== func()" instead)

  1. }
  2. function get_title_from_session($num){
  3. $r_num = session('param.num')['region'];
  4. $p_num = session('param.num')['prefix'];
  5. $k_num = session('param.num')['keyword'];
  6. $s_num = session('param.num')['suffix'];
  7. $oversize = session('param.oversize');
  8. if($oversize){
  9. if(!isset(session('param.overkey'))){
  10. session('param.overkey',0);
  11. }
  12. $region = session('param.regionlist')[session('param.overkey')];
  13. session('param.overkey',session('param.overkey')+1);
  14. if($num < $s_num){
  15. return $region.session('param.prefixlist')['0'].session('param.keywordlist')['0'].session('param.suffixlist')[$num];
  16. }elseif($num < $s_num*$k_num){
  17. $k_key = floor($num/$s_num);
  18. $s_key = $num%$s_num;

Call Stack

  1. in common.php line 437
  2. at Error::appShutdown()

Environment Variables

GET Data
empty

POST Data

appid
bzys001
token
bb96a9ee18e8973bdace9ef35266eaac
folder
a
detail
d
20191107
id
2656
user
spider
referer
xmh
Files
empty
Cookies
empty
Session
empty

Server/Request Data

UNIQUE_ID
Xwbeb1uEvqpKh0Ie0@wH9gAAAAs
HTTP_X_REAL_IP
180.235.65.10
HTTP_X_FORWARDED_FOR
180.235.65.10
HTTP_HOST
xiaobao.31fabu.com
HTTP_CONNECTION
close
CONTENT_LENGTH
855
HTTP_USER_AGENT
netsun
HTTP_ACCEPT
*/*
CONTENT_TYPE
multipart/form-data; boundary=----------------------------61c72bb7ddcf
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SERVER_NAME
xiaobao.31fabu.com
SERVER_ADDR
127.0.0.1
SERVER_PORT
80
REMOTE_ADDR
127.0.0.1
DOCUMENT_ROOT
/data/www/xiaobao/
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/data/www/xiaobao/
SERVER_ADMIN
web@netsun.com
SCRIPT_FILENAME
/data/www/xiaobao/apl.php
REMOTE_PORT
43548
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.0
REQUEST_METHOD
POST
QUERY_STRING
REQUEST_URI
/apl.php
SCRIPT_NAME
/apl.php
PHP_SELF
/apl.php
REQUEST_TIME_FLOAT
1594285679.518
REQUEST_TIME
1594285679
Environment Variables
empty

ThinkPHP Constants

BIND_MODULE
apl
DS
/
ROOT_PATH
/data/www/xiaobao/
THINK_PATH
/data/www/xiaobao/thinkphp/
APP_PATH
/data/www/xiaobao/application/
COMMON_PATH
/data/www/xiaobao/application/common/
CONF_PATH
/data/www/xiaobao/application/common/config/
ROOT_URL
/
THINK_VERSION
5.0.11
THINK_START_TIME
1594285679.5213
THINK_START_MEM
269840
EXT
.php
LIB_PATH
/data/www/xiaobao/thinkphp/library/
CORE_PATH
/data/www/xiaobao/thinkphp/library/think/
TRAIT_PATH
/data/www/xiaobao/thinkphp/library/traits/
EXTEND_PATH
/data/www/xiaobao/extend/
VENDOR_PATH
/data/www/xiaobao/vendor/
RUNTIME_PATH
/data/www/xiaobao/runtime/
LOG_PATH
/data/www/xiaobao/runtime/log/
CACHE_PATH
/data/www/xiaobao/runtime/cache/
TEMP_PATH
/data/www/xiaobao/runtime/temp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false