[2] ErrorException in Employ.php line 1136

A non-numeric value encountered

  1. }
  2. /** 分页
  3. * @param int $page 页数
  4. * @param int $length 条数
  5. * @return string
  6. */
  7. protected function paging($page,$length){
  8. if($page){$offset = ($page-1)*$length;}else{$offset = 0;}
  9. return $offset;
  10. }
  11. }

Call Stack

  1. in Employ.php line 1136
  2. at Error::appError() in Employ.php line 1136
  3. at Employ->paging() in Employ.php line 522
  4. at Employ->product() in Employ.php line 43
  5. at Employ->initial() in Product.php line 17
  6. at Product->index()
  7. at ReflectionMethod->invokeArgs() in App.php line 343
  8. at App::invokeMethod() in App.php line 611
  9. at App::module() in App.php line 456
  10. at App::exec() in App.php line 139
  11. at App::run() in start.php line 19
  12. at require('/www/wwwroot/guangzh...') in index.php line 31

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
e9e13sa2l24dthuc0dpgkpakum
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
PHPSESSID=e9e13sa2l24dthuc0dpgkpakum
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.votinfrared.com
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH_INFO
/product/3/JavaScript:void(0)
REDIRECT_STATUS
200
SERVER_NAME
www.votinfrared.com
SERVER_PORT
443
SERVER_ADDR
10.0.0.172
REMOTE_PORT
53806
REMOTE_ADDR
23.90.23.202
SERVER_SOFTWARE
nginx/1.21.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/guangzhi/public
DOCUMENT_URI
/index.php/product/3/JavaScript:void(0)
REQUEST_URI
/index.php/product/3/JavaScript:void(0)
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/guangzhi/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/product/3/JavaScript:void(0)
REQUEST_TIME_FLOAT
1765927025.2349
REQUEST_TIME
1765927025
Environment Variables
empty

ThinkPHP Constants

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