string(42789) "


    
    System Error
    
    
    


    
  1. {
  2. $GLOBALS['catGrandson'] = array();
  3. $GLOBALS['category_id_arr'] = array();
  4. // 先把自己的id 保存起来
  5. $GLOBALS['catGrandson'][] = $cat_id;
  6. // 把整张表找出来
  7. $GLOBALS['category_id_arr'] = M('GoodsCategory')->cache(true,TPSHOP_CACHE_TIME)->getField('id,parent_id');
  8. // 先把所有儿子找出来
  9. $son_id_arr = M('GoodsCategory')->where("parent_id", $cat_id)->cache(true,TPSHOP_CACHE_TIME)->getField('id',true);
  10. foreach($son_id_arr as $k => $v)
  11. {
  12. getCatGrandson2($v);
  13. }
  14. return $GLOBALS['catGrandson'];
  15. }
  16. /**
  17. * 获取某个文章分类的 儿子 孙子 重子重孙 的 id
  18. * @param $cat_id

Call Stack

  1. in /www/wwwroot/www.innovastarx.com/application/common.php line 482 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  2. at Error::appError(2, 'Invalid argument sup...', '/www/wwwroot/www.inn...', 482, ['cat_id' => 0, 'son_id_arr' => null]) in /www/wwwroot/www.innovastarx.com/application/common.php line 482 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  3. at getCatGrandson(0) in /www/wwwroot/www.innovastarx.com/application/home/controller/Goods.php line 213 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  4. at Goods->goodsList()
  5. at ReflectionMethod->invokeArgs(object(Goods), []) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 348 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  6. at App::invokeMethod([object(Goods), 'goodsList'], []) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 616 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  7. at App::module(['home', 'Goods', 'goodsList'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 462 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  8. at App::exec(['type' => 'module', 'module' => ['home', 'Goods', 'goodsList']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  9. at App::run() in /www/wwwroot/www.innovastarx.com/thinkphp/start.php line 19 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  10. at require('/www/wwwroot/www.inn...') in /www/wwwroot/www.innovastarx.com/index.php line 63 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html

Environment Variables

GET Data

id
0
sort
ggg
p
2
POST Data
empty
Files
empty

Cookies

is_mobile
0
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/www.innovastarx.com/index.php
QUERY_STRING
s=/home/Goods/goodsList/id/0/sort/ggg/p/2.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/home/Goods/goodsList/id/0/sort/ggg/p/2.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/www.innovastarx.com
SERVER_PROTOCOL
HTTP/2.0
REQUEST_SCHEME
https
HTTPS
on
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
3.149.238.67
REMOTE_PORT
9142
SERVER_ADDR
172.16.0.135
SERVER_PORT
443
SERVER_NAME
www.innovastarx.com
REDIRECT_STATUS
200
PATH_INFO
/home/Goods/goodsList/id/0/sort/ggg/p/2.html
HTTP_HOST
innovastarx.com
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1734957254.203
REQUEST_TIME
1734957254
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/www/wwwroot/www.innovastarx.com/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
1
SITE_URL
https://innovastarx.com
HTTP
https
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/www.innovastarx.com/application/
NOW_TIME
1734957254
THINK_VERSION
5.0.15
THINK_START_TIME
1734957254.2038
THINK_START_MEM
309144
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/
LIB_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.innovastarx.com/
EXTEND_PATH
/www/wwwroot/www.innovastarx.com/extend/
VENDOR_PATH
/www/wwwroot/www.innovastarx.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.innovastarx.com/runtime/
LOG_PATH
/www/wwwroot/www.innovastarx.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.innovastarx.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.innovastarx.com/runtime/temp/
CONF_PATH
/www/wwwroot/www.innovastarx.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/www.innovastarx.com/addons/
EXTEND_MODULE
1
EXTEND_ANDROID
2
EXTEND_IOS
3
EXTEND_ENTRUST
4
EXTEND_MINIAPP
5
EXTEND_H5
6
TIME_MOUTH
4
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Goods
ACTION_NAME
goodsList
PREFIX
tp_
LANG
it
SESSION_ID
" System Error
  1. {
  2. $GLOBALS['catGrandson'] = array();
  3. $GLOBALS['category_id_arr'] = array();
  4. // 先把自己的id 保存起来
  5. $GLOBALS['catGrandson'][] = $cat_id;
  6. // 把整张表找出来
  7. $GLOBALS['category_id_arr'] = M('GoodsCategory')->cache(true,TPSHOP_CACHE_TIME)->getField('id,parent_id');
  8. // 先把所有儿子找出来
  9. $son_id_arr = M('GoodsCategory')->where("parent_id", $cat_id)->cache(true,TPSHOP_CACHE_TIME)->getField('id',true);
  10. foreach($son_id_arr as $k => $v)
  11. {
  12. getCatGrandson2($v);
  13. }
  14. return $GLOBALS['catGrandson'];
  15. }
  16. /**
  17. * 获取某个文章分类的 儿子 孙子 重子重孙 的 id
  18. * @param $cat_id

Call Stack

  1. in /www/wwwroot/www.innovastarx.com/application/common.php line 482 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  2. at Error::appError(2, 'Invalid argument sup...', '/www/wwwroot/www.inn...', 482, ['cat_id' => 0, 'son_id_arr' => null]) in /www/wwwroot/www.innovastarx.com/application/common.php line 482 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  3. at getCatGrandson(0) in /www/wwwroot/www.innovastarx.com/application/home/controller/Goods.php line 213 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  4. at Goods->goodsList()
  5. at ReflectionMethod->invokeArgs(object(Goods), []) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 348 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  6. at App::invokeMethod([object(Goods), 'goodsList'], []) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 616 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  7. at App::module(['home', 'Goods', 'goodsList'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 462 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  8. at App::exec(['type' => 'module', 'module' => ['home', 'Goods', 'goodsList']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  9. at App::run() in /www/wwwroot/www.innovastarx.com/thinkphp/start.php line 19 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html
  10. at require('/www/wwwroot/www.inn...') in /www/wwwroot/www.innovastarx.com/index.php line 63 请求方式GET 请求地址 /home/Goods/goodsList/id/0/sort/ggg/p/2.html

Environment Variables

GET Data

id
0
sort
ggg
p
2
POST Data
empty
Files
empty

Cookies

is_mobile
0
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/www.innovastarx.com/index.php
QUERY_STRING
s=/home/Goods/goodsList/id/0/sort/ggg/p/2.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/home/Goods/goodsList/id/0/sort/ggg/p/2.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/www.innovastarx.com
SERVER_PROTOCOL
HTTP/2.0
REQUEST_SCHEME
https
HTTPS
on
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
3.149.238.67
REMOTE_PORT
9142
SERVER_ADDR
172.16.0.135
SERVER_PORT
443
SERVER_NAME
www.innovastarx.com
REDIRECT_STATUS
200
PATH_INFO
/home/Goods/goodsList/id/0/sort/ggg/p/2.html
HTTP_HOST
innovastarx.com
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1734957254.203
REQUEST_TIME
1734957254
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/www/wwwroot/www.innovastarx.com/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
1
SITE_URL
https://innovastarx.com
HTTP
https
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/www.innovastarx.com/application/
NOW_TIME
1734957254
THINK_VERSION
5.0.15
THINK_START_TIME
1734957254.2038
THINK_START_MEM
309144
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/
LIB_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.innovastarx.com/
EXTEND_PATH
/www/wwwroot/www.innovastarx.com/extend/
VENDOR_PATH
/www/wwwroot/www.innovastarx.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.innovastarx.com/runtime/
LOG_PATH
/www/wwwroot/www.innovastarx.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.innovastarx.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.innovastarx.com/runtime/temp/
CONF_PATH
/www/wwwroot/www.innovastarx.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/www.innovastarx.com/addons/
EXTEND_MODULE
1
EXTEND_ANDROID
2
EXTEND_IOS
3
EXTEND_ENTRUST
4
EXTEND_MINIAPP
5
EXTEND_H5
6
TIME_MOUTH
4
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Goods
ACTION_NAME
goodsList
PREFIX
tp_
LANG
it
SESSION_ID