2026-11-05 11:06:45 — PHP8.2.35 — en

Error

Cannot use a scalar value as an array

/www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Library/Lang.php at line 99

 92             file_put_contents($file, '<?php return [];');
 93             if (!is_file($file)) {
 94                 return;// 创建失败
 95             }
 96         }
 97         $lang_cache = require $file;
 98         if (!isset($lang_cache[$text])) {
 99             $lang_cache[$text] = $text;
100             file_put_contents($file, '<?php'.PHP_EOL.'// 以下文字需要手动翻译'.PHP_EOL.PHP_EOL.' return '.var_export($lang_cache, true).';');
101         }
102     }
103 
104 }
  1. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Library/Lang.php : 82   —  Phpcmf\Library\Lang->_save_file ()

    75                 ]);
    76                 if ($rt) {
    77                     return $rt;
    78                 }
    79             }
    80             // 没有找到语言时记录日志中
    81             if (SITE_LANGUAGE != 'zh-cn' && IS_DEV) {
    82                 $this->_save_file($text);
    83             }
    84         }
    85 
    86         return $text;
    87     }
    88 
    89     private function _save_file($text) {
    
  2. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Core/Helper.php : 795   —  Phpcmf\Library\Lang->text ()

    788     }
    789 
    790     // 取第一个作为语言名称
    791     $string = $param[0];
    792     unset($param[0]);
    793 
    794     // 调用语言包内容
    795     $string = \Phpcmf\Service::L('lang')->text($string);
    796     if ($param) {
    797         foreach ($param as $k => $t) {
    798             $param[$k] = \Phpcmf\Service::L('lang')->text($t);
    799         }
    800         return vsprintf($string, $param);
    801     }
    802 
    
  3. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Core/Phpcmf.php : 255   —   dr_lang()

  4. /www/wwwroot/www.wo-ma.cn/dayrui/System/Extend/Run.php : 115   —  Phpcmf\Common->__construct ()

    108 
    109         $class = $namespace.'\\'.$controller;
    110         if (! class_exists($class)) {
    111             throw \CodeIgniter\Exceptions\PageNotFoundException::forControllerNotFound($class);
    112             exit('<font color=red>控制器不存在</font>');
    113         }
    114 
    115         $app = new $class;
    116 
    117         if (! method_exists($app, $method)) {
    118             throw \CodeIgniter\Exceptions\PageNotFoundException::forMethodNotFound($class, $method);
    119             exit('<font color=red>方法不存在</font>');
    120         }
    121 
    122         if (IS_POST && SYS_CSRF) {
    
  5. /www/wwwroot/www.wo-ma.cn/dayrui/System/Init.php : 402   —  Frame\Run->bootWeb ()

    395         $tool->respond();
    396     });
    397 }
    398 
    399 
    400 // 启动框架
    401 $run = new \Frame\Run();
    402 $run->bootWeb();
    403 
    404 
    
  6. require /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Init.php   —   require()

  7. require /www/wwwroot/www.wo-ma.cn/public/index.php   —   require()

  8. require /www/wwwroot/www.wo-ma.cn/public/en/index.php   —   require()

$_SERVER

Key Value
USER www
HOME /home/www
HTTP_CONNECTION keep-alive
HTTP_CACHE_CONTROL max-age=259200
HTTP_X_FORWARDED_FOR 10.1.104.157
HTTP_VIA 1.1 squid-proxy-5b96dc6d46-xwjn7 (squid/6.13)
HTTP_HOST www.wo-ma.cn
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.wo-ma.cn
SERVER_PORT 80
SERVER_ADDR 172.27.185.230
REMOTE_PORT 26799
REMOTE_ADDR 216.73.217.33
SERVER_SOFTWARE nginx/1.28.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.wo-ma.cn/public
DOCUMENT_URI /en/index.php
REQUEST_URI /en/
SCRIPT_NAME /en/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/www.wo-ma.cn/public/en/index.php
FCGI_ROLE RESPONDER
PHP_SELF /en/index.php
REQUEST_TIME_FLOAT
1793848005.0912
REQUEST_TIME
1793848005

Constants

Key Value
SITE_ID 2
WEBPATH /www/wwwroot/www.wo-ma.cn/public/en/
FIX_WEB_DIR en
IS_DEV
1
IS_EDIT_TPL
0
ROOTPATH /www/wwwroot/www.wo-ma.cn/public/
FCPATH /www/wwwroot/www.wo-ma.cn/dayrui/
WRITEPATH /www/wwwroot/www.wo-ma.cn/cache/
CONFIGPATH /www/wwwroot/www.wo-ma.cn/config/
SELF index.php
IS_ADMIN

                                                                    
IS_VERSION
1
FRAMEPATH /www/wwwroot/www.wo-ma.cn/dayrui/System/
CMSPATH /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/
MAX_CATEGORY
300
COREPATH /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/
BASEPATH /www/wwwroot/www.wo-ma.cn/dayrui/System/System/
APPSPATH /www/wwwroot/www.wo-ma.cn/dayrui/App/
MYPATH /www/wwwroot/www.wo-ma.cn/dayrui/My/
TPLPATH /www/wwwroot/www.wo-ma.cn/template/
IS_XRDEV
0
MOBILE_TPL_DIR mobile
UEDITOR_IMG_TITLE {cms_img_title}
TESTPATH /www/wwwroot/www.wo-ma.cn/cache/tests/
TEMPPATH /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Temp/
COMPOSER_PATH /www/wwwroot/www.wo-ma.cn/public/vendor/autoload.php
IS_AJAX

                                                                    
IS_POST

                                                                    
IS_AJAX_POST

                                                                    
SYS_TIME
1793848005
SYS_DEBUG
1
SYS_ADMIN_CODE
0
SYS_ADMIN_LOG
0
SYS_AUTO_FORM
0
SYS_ADMIN_PAGESIZE
10
SYS_CRON_AUTH
0
SYS_TABLE_ISFOOTER
0
SYS_SMS_IMG_CODE
0
SYS_GO_404
0
SYS_THEME_ROOT_PATH
1
SYS_301
1
SYS_NOT_UPDATE
1
SYS_URL_ONLY
0
SYS_URL_REL
1
SYS_KEY PHPCMFf1cd4648aa33a4097c2af7b4c18f590e
SYS_API_TOKEN PHPCMFC378FC555A9D1
SYS_CSRF
0
SYS_CSRF_TIME
1
SYS_API_REL
0
SYS_HTTPS
0
SYS_NOT_ADMIN_CACHE
0
SYS_ADMIN_MODE
0
SYS_ADMIN_LOGINS
10
SYS_ADMIN_LOGIN_AES
SYS_ATTACHMENT_DOWN_REMOTE
SYS_ATTACHMENT_DOWN_SIZE
SYS_ADMIN_LOGIN_TIME
0
SYS_LOGIN_AES
0
SYS_ADMIN_OAUTH
0
SYS_ADMIN_SMS_LOGIN
0
SYS_ADMIN_SMS_CHECK
0
SYS_ATTACHMENT_DB
SYS_ATTACHMENT_PAGESIZE
SYS_ATTACHMENT_GUEST
SYS_ATTACHMENT_CF
SYS_ATTACHMENT_REL
SYS_ATTACHMENT_PATH
SYS_ATTACHMENT_SAVE_TYPE
SYS_ATTACHMENT_SAVE_DIR
SYS_ATTACHMENT_SAVE_ID
SYS_ATTACHMENT_URL
SYS_AVATAR_PATH
SYS_AVATAR_URL
SYS_API_CODE
0
SYS_ATTACHMENT_SAFE
IS_ADMIN_CACHE 1
SQGS 迅睿CMS开源框架
CI_DEBUG
1
IS_FB_DEBUG
0
ENVIRONMENT development
SYS_CACHE
0
SYS_CACHE_TYPE
0
SYS_CACHE_SHOW
0
SYS_CACHE_LIST
0
SYS_CACHE_SEARCH
0
SYS_CACHE_SMS
0
SYS_CACHE_CRON
0
SYS_CACHE_CLEAR
0
FC_NOW_URL http://www.wo-ma.cn/en/
FC_NOW_HOST http://www.wo-ma.cn/
DOMAIN_NAME www.wo-ma.cn
WEB_DIR /en/
CMSURI
IS_API

                                                                    
IS_USE_MEMBER /www/wwwroot/www.wo-ma.cn/dayrui/App/Member/
IS_USE_MODULE /www/wwwroot/www.wo-ma.cn/dayrui/App/Module/
APPPATH /www/wwwroot/www.wo-ma.cn/dayrui/System/
APP_DIR
IS_MEMBER

                                                                    
IS_HOME
1
FRAME_PHP_VERSION 8.0
FRAME_NAME System
FRAME_VERSION 4.7
EXIT_SUCCESS
0
EXIT_ERROR
1
EXIT_CONFIG
3
EXIT_UNKNOWN_FILE
4
EXIT_UNKNOWN_CLASS
5
EXIT_UNKNOWN_METHOD
6
EXIT_USER_INPUT
7
EXIT_DATABASE
8
EXIT__AUTO_MIN
9
EXIT__AUTO_MAX
125
EVENT_PRIORITY_LOW
200
EVENT_PRIORITY_NORMAL
100
EVENT_PRIORITY_HIGH
10
IS_COMMON
1
IS_SITES
1
CMF_NAME 众里博士CMS
CMF_VERSION 4.7.1
CMF_UPDATE_TIME 1784692568
SITE_URL http://www.wo-ma.cn/en/
SITE_MURL http://www.wo-ma.cn/en/book/
SITE_NAME Wenzhou Woma Autoparts Co.,Ltd
SITE_LOGO http://www.wo-ma.cn/static/assets/logo-web.png
SITE_IS_MOBILE
2
SITE_IS_MOBILE_HTML
0
SITE_MOBILE_DIR book
SITE_MOBILE_NOT_PAD
0
SITE_THUMB_WATERMARK
0
SITE_THEME dr599
SITE_SEOJOIN _
SITE_REWRITE
0
SITE_TEMPLATE dr599
SITE_LANGUAGE zh-en
SITE_TIME_FORMAT Y-m-d H:i:s
ADMIN_URL http://www.wo-ma.cn/
PAY_URL http://www.wo-ma.cn/en/
ROOT_URL http://www.wo-ma.cn/
OAUTH_URL http://www.wo-ma.cn/en/
THEME_PATH http://www.wo-ma.cn/static/
LANG_PATH http://www.wo-ma.cn/api/language/zh-en/
ROOT_THEME_PATH http://www.wo-ma.cn/static/
HOME_THEME_PATH http://www.wo-ma.cn/static/dr599/
MOBILE_THEME_PATH http://www.wo-ma.cn/en/book/static/dr599/
SYS_UPLOAD_PATH /www/wwwroot/www.wo-ma.cn/public/uploadfile/
SYS_UPLOAD_URL http://www.wo-ma.cn/uploadfile/
CLIENT_URL http://www.wo-ma.cn/en/
CLIENT_NAME pc
IS_CLIENT
MEMBER_URL http://www.wo-ma.cn/en/index.php?s=member
SITE_FID
0
  1. /www/wwwroot/www.wo-ma.cn/public/en/index.php
  2. /www/wwwroot/www.wo-ma.cn/public/index.php
  3. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Init.php
  4. /www/wwwroot/www.wo-ma.cn/config/custom.php
  5. /www/wwwroot/www.wo-ma.cn/cache/config/system.php
  6. /www/wwwroot/www.wo-ma.cn/cache/config/domain_app.php
  7. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Core/Helper.php
  8. /www/wwwroot/www.wo-ma.cn/dayrui/System/Init.php
  9. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Core/Auto.php
  10. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Core/Service.php
  11. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Core/Hooks.php
  12. /www/wwwroot/www.wo-ma.cn/dayrui/System/Extend/Run.php
  13. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Core/Phpcmf.php
  14. /www/wwwroot/www.wo-ma.cn/dayrui/System/Extend/Controller.php
  15. /www/wwwroot/www.wo-ma.cn/dayrui/App/Pay/Config/Filters.php
  16. /www/wwwroot/www.wo-ma.cn/dayrui/App/Comment/Config/Auto.php
  17. /www/wwwroot/www.wo-ma.cn/dayrui/App/Comment/Config/Hooks.php
  18. /www/wwwroot/www.wo-ma.cn/dayrui/App/Form/Config/Auto.php
  19. /www/wwwroot/www.wo-ma.cn/dayrui/App/Safe/Config/Hooks.php
  20. /www/wwwroot/www.wo-ma.cn/dayrui/App/Adcontent/Config/Hooks.php
  21. /www/wwwroot/www.wo-ma.cn/dayrui/App/Excel/Config/Hooks.php
  22. /www/wwwroot/www.wo-ma.cn/dayrui/App/Module/Config/Version.php
  23. /www/wwwroot/www.wo-ma.cn/dayrui/App/Module/Config/Auto.php
  24. /www/wwwroot/www.wo-ma.cn/dayrui/App/Module/Config/Hooks.php
  25. /www/wwwroot/www.wo-ma.cn/dayrui/App/Module/Config/Filters.php
  26. /www/wwwroot/www.wo-ma.cn/dayrui/App/Tag/Config/Hooks.php
  27. /www/wwwroot/www.wo-ma.cn/dayrui/App/Access_password/Config/Hooks.php
  28. /www/wwwroot/www.wo-ma.cn/dayrui/App/Mform/Config/Auto.php
  29. /www/wwwroot/www.wo-ma.cn/dayrui/App/Mform/Config/Hooks.php
  30. /www/wwwroot/www.wo-ma.cn/dayrui/App/Hy/Config/Hooks.php
  31. /www/wwwroot/www.wo-ma.cn/dayrui/App/Chtml/Config/Hooks.php
  32. /www/wwwroot/www.wo-ma.cn/dayrui/App/Weblog/Config/Hooks.php
  33. /www/wwwroot/www.wo-ma.cn/dayrui/App/Member/Config/Hooks.php
  34. /www/wwwroot/www.wo-ma.cn/dayrui/App/Ai_helper/Config/Hooks.php
  35. /www/wwwroot/www.wo-ma.cn/dayrui/App/Sites/Config/Hooks.php
  36. /www/wwwroot/www.wo-ma.cn/dayrui/App/Spider/Config/Hooks.php
  37. /www/wwwroot/www.wo-ma.cn/dayrui/System/Config/Services.php
  38. /www/wwwroot/www.wo-ma.cn/dayrui/System/Config/BaseService.php
  39. /www/wwwroot/www.wo-ma.cn/dayrui/System/Config/Factories.php
  40. /www/wwwroot/www.wo-ma.cn/dayrui/System/Config/Factory.php
  41. /www/wwwroot/www.wo-ma.cn/dayrui/System/Config/BaseConfig.php
  42. /www/wwwroot/www.wo-ma.cn/dayrui/System/Config/Exceptions.php
  43. /www/wwwroot/www.wo-ma.cn/dayrui/System/Debug/Exceptions.php
  44. /www/wwwroot/www.wo-ma.cn/dayrui/System/Events/Events.php
  45. /www/wwwroot/www.wo-ma.cn/dayrui/System/Debug/Timer.php
  46. /www/wwwroot/www.wo-ma.cn/dayrui/System/Config/Toolbar.php
  47. /www/wwwroot/www.wo-ma.cn/dayrui/System/Debug/Toolbar.php
  48. /www/wwwroot/www.wo-ma.cn/dayrui/System/Debug/Toolbar/Collectors/Database.php
  49. /www/wwwroot/www.wo-ma.cn/dayrui/System/Debug/Toolbar/Collectors/BaseCollector.php
  50. /www/wwwroot/www.wo-ma.cn/dayrui/System/Config/Database.php
  51. /www/wwwroot/www.wo-ma.cn/dayrui/System/Database/Config.php
  52. /www/wwwroot/www.wo-ma.cn/dayrui/System/Debug/Toolbar/Collectors/Views.php
  53. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Core/View.php
  54. /www/wwwroot/www.wo-ma.cn/dayrui/System/Debug/Toolbar/Collectors/Files.php
  55. /www/wwwroot/www.wo-ma.cn/dayrui/System/Debug/Toolbar/Collectors/Routes.php
  56. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Control/Home.php
  57. /www/wwwroot/www.wo-ma.cn/cache/config/site.php
  58. /www/wwwroot/www.wo-ma.cn/dayrui/My/Config/Version.php
  59. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Library/Cache.php
  60. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Library/Lang.php
  61. /www/wwwroot/www.wo-ma.cn/public/api/language/zh-en/lang.php
  62. /www/wwwroot/www.wo-ma.cn/cache/lang_zh-en.php
  63. /www/wwwroot/www.wo-ma.cn/dayrui/Fcms/Library/Input.php
  64. /www/wwwroot/www.wo-ma.cn/dayrui/System/Debug/ExceptionHandler.php
  65. /www/wwwroot/www.wo-ma.cn/dayrui/System/Debug/BaseExceptionHandler.php
  66. /www/wwwroot/www.wo-ma.cn/dayrui/System/Debug/ExceptionHandlerInterface.php
  67. /www/wwwroot/www.wo-ma.cn/dayrui/System/Exceptions/Views/html/error_exception.php