[2] ErrorException in Request.php line 735

preg_replace(): Compilation failed: unmatched parentheses at offset 5

  1. if (false === $suffix) {
  2. // 禁止伪静态访问
  3. $this->path = $pathinfo;
  4. } elseif ($suffix) {
  5. // 去除正常的URL后缀
  6. $this->path = preg_replace('/\.(' . ltrim($suffix, '.') . ')$/i', '', $pathinfo);
  7. } else {
  8. // 允许任何后缀访问
  9. $this->path = preg_replace('/\.' . $this->ext() . '$/i', '', $pathinfo);
  10. }
  11. }
  12. return $this->path;
  13. }
  14. /**
  15. * 当前URL的访问后缀
  16. * @access public

Call Stack

  1. in Request.php line 735
  2. at Error::appError(2, 'preg_replace(): Comp...', '/www/wwwroot/www.xyz...', 735, ['suffix' => '', 'pathinfo' => 'english-chinese/Dire...'])
  3. at preg_replace('/\. 5 ) and list The...', '', 'english-chinese/Dire...') in Request.php line 735
  4. at Request->path() in App.php line 596
  5. at App->routeCheck() in App.php line 402
  6. at App->run() in index.php line 20

Environment Variables

GET Data
cht
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
REDIRECT_PATH_INFO english-chinese/Directions: Write down the template number (i.e., the number used on p. 5 ) and list The steps on the manual and,or the categories Of information you observe
REDIRECT_STATUS 200
proxy-nokeepalive 1
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_REFERER http://tw.xyzdict.com/english-chinese/Directions%3A%20Write%20down%20the%20template%20number%20%28i.e.%2C%20the%20number%20used%20on%20p.%205%20%29%20and%20list%20The%20steps%20on%20the%20manual%20and%2Cor%20the%20categories%20Of%20information%20you%20observe
HTTP_HOST www.xyzdict.com
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
LD_LIBRARY_PATH /www/server/apache/lib
SERVER_SIGNATURE <address>Apache Server at www.xyzdict.com Port 80</address>
SERVER_SOFTWARE Apache
SERVER_NAME www.xyzdict.com
SERVER_ADDR 172.18.93.80
SERVER_PORT 80
REMOTE_ADDR 34.205.246.61
DOCUMENT_ROOT /www/wwwroot/www.xyzdict.com
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /www/wwwroot/www.xyzdict.com
SERVER_ADMIN webmaster@example.com
SCRIPT_FILENAME /www/wwwroot/www.xyzdict.com/index.php
REMOTE_PORT 34272
REDIRECT_URL /english-chinese/Directions: Write down the template number (i.e., the number used on p. 5 ) and list The steps on the manual and,or the categories Of information you observe
REDIRECT_QUERY_STRING cht
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING cht
REQUEST_URI /english-chinese/Directions%3A%20Write%20down%20the%20template%20number%20%28i.e.%2C%20the%20number%20used%20on%20p.%205%20%29%20and%20list%20The%20steps%20on%20the%20manual%20and%2Cor%20the%20categories%20Of%20information%20you%20observe?cht
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711653588.0947
REQUEST_TIME 1711653588
Environment Variablesempty
ThinkPHP Constants
APK_DEF_AES_KEY A3B6C9D0EF142857
APK_DEF_AES_IV 3690ABCDEF142857
APK_NEW_AES_KEY
APK_NEW_AES_IV