[2] ErrorException in Request.php line 735

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

  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/(You...'])
  3. at preg_replace('/\.)$/i', '', 'english-chinese/(You...') 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/(You’ll want to ask the Lord to help you find what buzzword works in any particular situation.)
REDIRECT_STATUS 200
proxy-nokeepalive 1
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_REFERER http://tw.xyzdict.com/english-chinese/%28You%E2%80%99ll%20want%20to%20ask%20the%20Lord%20to%20help%20you%20find%20what%20buzzword%20works%20in%20any%20particular%20situation.%29
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 54.198.37.250
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 45432
REDIRECT_URL /english-chinese/(You’ll want to ask the Lord to help you find what buzzword works in any particular situation.)
REDIRECT_QUERY_STRING cht
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING cht
REQUEST_URI /english-chinese/%28You%E2%80%99ll%20want%20to%20ask%20the%20Lord%20to%20help%20you%20find%20what%20buzzword%20works%20in%20any%20particular%20situation.%29?cht
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711655741.0203
REQUEST_TIME 1711655741
Environment Variablesempty
ThinkPHP Constants
APK_DEF_AES_KEY A3B6C9D0EF142857
APK_DEF_AES_IV 3690ABCDEF142857
APK_NEW_AES_KEY
APK_NEW_AES_IV