[8] ErrorException in Index.php line 407

未定义数组索引: re

  1. $outUrl = $outData['domain']['domain'];
  2. }else{
  3. $outUrl = $this->payload['domain'];
  4. }
  5. $content = str_replace("http://hulian.6nb.xyz",$outUrl,$content);
  6. $content = str_replace('<meta property="og:site_name" content="6nb.xyz" />','<meta property="og:site_name" content="'.$this->payload['domain'].'" />',$content);
  7. $content = str_replace("http://".$this->domainModel->id.".1maizhanghao.6nb.xyz",$this->payload['domain'],$content);
  8. $content = str_replace("/template/news/blog2/img/logo.png",$get_url."/template/news/blog2/img/logo.png",$content);
  9. $content = str_replace("</body>",$this->payload['re'],$content);
  10. $pattern = "/(src=\")\/js\/([^\"]+)(\.script\")/";
  11. $replacement = '$1' . $get_url . '/js/$2$3';
  12. $content = preg_replace($pattern, $replacement, $content);
  13. preg_match_all("/href=['\"]([^'\"]+\.css.*?)['\"]/", $content, $matches);
  14. if (isset($matches[1])) {
  15. $cssFiles = $matches[1];

Call Stack

  1. in Index.php line 407
  2. at Error::appError(8, 'Undefined index: re', '/www/wwwroot/www/app...', 407, ['templateModel' => object(Template), 'content' => '', 'new_url' => 'http://812.1maizhang...', ...]) in Index.php line 407
  3. at Index->get_content6()
  4. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
  5. at App::invokeMethod([object(Index), 'get_content6'], []) in App.php line 611
  6. at App::module([null, 'index', 'get_content6'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  7. at App::exec(['type' => 'module', 'module' => [null, 'index', 'get_content6'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/www/wwwroot/www/thi...') in index.php line 23

Environment Variables

GET Data
empty

POST Data

payload
{"domain":"https:\/\/blog.clean4green.org","uri":"\/productlist\/6-63786\/","server":{"HTTP_REFERER":"","HTTP_USER_AGENT":"CCBot\/2.0 (https:\/\/commoncrawl.org\/faq\/)","HTTP_ACCEPT_LANGUAGE":"en-US,en;q=0.5","REMOTE_ADDR":"18.97.9.171"},"request":[]}
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CF_IPCOUNTRY
FR
HTTP_CDN_LOOP
cloudflare; loops=1
HTTP_CF_CONNECTING_IP
135.125.4.96
HTTP_CONTENT_TYPE
multipart/form-data; boundary=------------------------0417015f0b1172b9
HTTP_ACCEPT
*/*
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_X_FORWARDED_PROTO
https
HTTP_CONTENT_LENGTH
394
HTTP_CF_RAY
8f1177af18b5dcce-FRA
HTTP_X_FORWARDED_FOR
135.125.4.96
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
www.wordprass.org
PATH_INFO
/content6
REDIRECT_STATUS
200
SERVER_NAME
www.wordprass.org
SERVER_PORT
80
SERVER_ADDR
194.42.196.66
REMOTE_PORT
10056
REMOTE_ADDR
172.71.148.63
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www/public
DOCUMENT_URI
/index.php
REQUEST_URI
/content6
SCRIPT_NAME
/index.php
CONTENT_LENGTH
394
CONTENT_TYPE
multipart/form-data; boundary=------------------------0417015f0b1172b9
REQUEST_METHOD
POST
QUERY_STRING
s=/content6
SCRIPT_FILENAME
/www/wwwroot/www/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1734045862.3397
REQUEST_TIME
1734045862
Environment Variables
empty

ThinkPHP Constants

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