[2] ErrorException in Archives.php line 236

Invalid argument supplied for foreach()

  1. $outlink = $archives['outlink'];
  2. preg_match("/bookname=(.*?)/i",$outlink,$outlink_match);
  3. if(isset($outlink_match[1])){
  4. $bookname = $outlink_match[1]; // 从跳转连接获取书籍
  5. }
  6. }
  7. $iswhitebook = false;
  8. foreach ($fx_whitebook as $w){
  9. if($w == $bookname){
  10. $iswhitebook = true;
  11. break;
  12. }
  13. }
  14. $isweiguici = 0;
  15. $weiguici_data = array();
  16. $n=0;
  17. if(!$iswhitebook) {

Call Stack

  1. in Archives.php line 236
  2. at Error::appError() in Archives.php line 236
  3. at Archives->index()
  4. at call_user_func_array() in Route.php line 78
  5. at Route->execute()
  6. at ReflectionMethod->invokeArgs() in App.php line 343
  7. at App::invokeMethod() in App.php line 470
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/www/wwwroot/fast.ji...') in index.php line 51

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_X_FIKKER
1.1 TKO4187 (random:790387 CDN/Fly/3.8.3)
HTTP_X_REAL_IP
35.171.182.239
HTTP_X_FORWARDED_FOR
35.171.182.239
HTTP_HOST
www.jingyanbaodian.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/live/29915.html
REDIRECT_STATUS
200
SERVER_NAME
fast.jingyanbaodian.com
SERVER_PORT
443
SERVER_ADDR
206.2.178.3
REMOTE_PORT
REMOTE_ADDR
35.171.182.239
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/fast.jingyanbaodian.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/live/29915.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/live/29915.html
SCRIPT_FILENAME
/www/wwwroot/fast.jingyanbaodian.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711688924.3475
REQUEST_TIME
1711688924
Environment Variables
empty

ThinkPHP Constants

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