string(45364) "


    
    System Error
    
    
    


    

  1. */
  2. public function getRelation($subRelation = '', $closure = null)
  3. {
  4. if ($closure) {
  5. call_user_func_array($closure, [ & $this->query]);
  6. }
  7. $list = $this->relation($subRelation)->select();
  8. $parent = clone $this->parent;
  9. foreach ($list as &$model) {
  10. $model->setParent($parent);
  11. }
  12. return $list;
  13. }
  14. /**
  15. * 预载入关联查询
  16. * @access public

Call Stack

  1. in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/model/relation/HasMany.php line 52 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  2. at Error::appError(2, 'Invalid argument sup...', '/www/wwwroot/sun.tps...', 52, ['subRelation' => '', 'closure' => null, 'list' => null, ...]) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/model/relation/HasMany.php line 52 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  3. at HasMany->getRelation() in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Model.php line 620 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  4. at Model->getRelationData(object(HasMany)) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Model.php line 596 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  5. at Model->getAttr('store_goods_class_to...') in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Model.php line 2250 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  6. at Model->offsetGet('store_goods_class_to...') in /www/wwwroot/sun.tpsns.com/runtime/temp/f46ce3be25ec4ecf8eb19e2cf57c6b3f.php line 1107 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  7. at include('/www/wwwroot/sun.tps...') in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/template/driver/File.php line 50 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  8. at File->read('/www/wwwroot/sun.tps...', ['action' => 'goodsInfo', 'template_now_time' => 1776605160, 'tpshop_config' => ['express_express_switch' => '0', 'express_kd100_key' => 'ZqppWbRv533', 'express_kdniao_id' => '1649559', ...], ...]) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Template.php line 200 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  9. at Template->fetch('./template/pc/rainbo...', ['action' => 'goodsInfo', 'template_now_time' => 1776605160, 'tpshop_config' => ['express_express_switch' => '0', 'express_kd100_key' => 'ZqppWbRv533', 'express_kdniao_id' => '1649559', ...], ...], []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/view/driver/Think.php line 89 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  10. at Think->fetch('', ['action' => 'goodsInfo', 'template_now_time' => 1776605160, 'tpshop_config' => ['express_express_switch' => '0', 'express_kd100_key' => 'ZqppWbRv533', 'express_kdniao_id' => '1649559', ...], ...], []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/View.php line 163 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  11. at View->fetch('', [], [], []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Controller.php line 187 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  12. at Controller->fetch() in /www/wwwroot/sun.tpsns.com/application/home/controller/Goods.php line 99 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  13. at Goods->goodsInfo()
  14. at ReflectionMethod->invokeArgs(object(Goods), []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 348 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  15. at App::invokeMethod([object(Goods), 'goodsInfo'], []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 614 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  16. at App::module(['home', 'Goods', 'goodsInfo'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 462 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  17. at App::exec(['type' => 'module', 'module' => ['home', 'Goods', 'goodsInfo']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  18. at App::run() in /www/wwwroot/sun.tpsns.com/thinkphp/start.php line 19 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  19. at require('/www/wwwroot/sun.tps...') in /www/wwwroot/sun.tpsns.com/index.php line 137 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html

Environment Variables

GET Data

id
397
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/sun.tpsns.com/index.php
QUERY_STRING
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index.php/home/Goods/goodsInfo/id/397.html
DOCUMENT_URI
/index.php/home/Goods/goodsInfo/id/397.html
DOCUMENT_ROOT
/www/wwwroot/sun.tpsns.com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
216.73.216.241
REMOTE_PORT
57273
SERVER_ADDR
172.31.123.154
SERVER_PORT
80
SERVER_NAME
sun.tpsns.com
REDIRECT_STATUS
200
PATH_INFO
/home/Goods/goodsInfo/id/397.html
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
HTTP_HOST
sun.tpsns.com
HTTP_VIA
1.1 squid-proxy-5b5d847c96-4m6f9 (squid/6.13)
HTTP_X_FORWARDED_FOR
10.1.200.65
HTTP_CACHE_CONTROL
max-age=259200
HTTP_CONNECTION
keep-alive
PHP_SELF
/index.php/home/Goods/goodsInfo/id/397.html
REQUEST_TIME_FLOAT
1776605160.2612
REQUEST_TIME
1776605160
HTTPS
on
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/www/wwwroot/sun.tpsns.com/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
31104000
SITE_URL
https://sun.tpsns.com
HTTP
https
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/sun.tpsns.com/application/
NOW_TIME
1776605160
THINK_VERSION
5.0.15
THINK_START_TIME
1776605160.2618
THINK_START_MEM
323792
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/
LIB_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/
CORE_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/sun.tpsns.com/
EXTEND_PATH
/www/wwwroot/sun.tpsns.com/extend/
VENDOR_PATH
/www/wwwroot/sun.tpsns.com/vendor/
RUNTIME_PATH
/www/wwwroot/sun.tpsns.com/runtime/
LOG_PATH
/www/wwwroot/sun.tpsns.com/runtime/log/
CACHE_PATH
/www/wwwroot/sun.tpsns.com/runtime/cache/
TEMP_PATH
/www/wwwroot/sun.tpsns.com/runtime/temp/
CONF_PATH
/www/wwwroot/sun.tpsns.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Goods
ACTION_NAME
goodsInfo
PREFIX
tp_
SESSION_ID
" System Error

  1. */
  2. public function getRelation($subRelation = '', $closure = null)
  3. {
  4. if ($closure) {
  5. call_user_func_array($closure, [ & $this->query]);
  6. }
  7. $list = $this->relation($subRelation)->select();
  8. $parent = clone $this->parent;
  9. foreach ($list as &$model) {
  10. $model->setParent($parent);
  11. }
  12. return $list;
  13. }
  14. /**
  15. * 预载入关联查询
  16. * @access public

Call Stack

  1. in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/model/relation/HasMany.php line 52 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  2. at Error::appError(2, 'Invalid argument sup...', '/www/wwwroot/sun.tps...', 52, ['subRelation' => '', 'closure' => null, 'list' => null, ...]) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/model/relation/HasMany.php line 52 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  3. at HasMany->getRelation() in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Model.php line 620 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  4. at Model->getRelationData(object(HasMany)) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Model.php line 596 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  5. at Model->getAttr('store_goods_class_to...') in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Model.php line 2250 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  6. at Model->offsetGet('store_goods_class_to...') in /www/wwwroot/sun.tpsns.com/runtime/temp/f46ce3be25ec4ecf8eb19e2cf57c6b3f.php line 1107 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  7. at include('/www/wwwroot/sun.tps...') in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/template/driver/File.php line 50 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  8. at File->read('/www/wwwroot/sun.tps...', ['action' => 'goodsInfo', 'template_now_time' => 1776605160, 'tpshop_config' => ['express_express_switch' => '0', 'express_kd100_key' => 'ZqppWbRv533', 'express_kdniao_id' => '1649559', ...], ...]) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Template.php line 200 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  9. at Template->fetch('./template/pc/rainbo...', ['action' => 'goodsInfo', 'template_now_time' => 1776605160, 'tpshop_config' => ['express_express_switch' => '0', 'express_kd100_key' => 'ZqppWbRv533', 'express_kdniao_id' => '1649559', ...], ...], []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/view/driver/Think.php line 89 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  10. at Think->fetch('', ['action' => 'goodsInfo', 'template_now_time' => 1776605160, 'tpshop_config' => ['express_express_switch' => '0', 'express_kd100_key' => 'ZqppWbRv533', 'express_kdniao_id' => '1649559', ...], ...], []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/View.php line 163 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  11. at View->fetch('', [], [], []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Controller.php line 187 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  12. at Controller->fetch() in /www/wwwroot/sun.tpsns.com/application/home/controller/Goods.php line 99 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  13. at Goods->goodsInfo()
  14. at ReflectionMethod->invokeArgs(object(Goods), []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 348 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  15. at App::invokeMethod([object(Goods), 'goodsInfo'], []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 614 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  16. at App::module(['home', 'Goods', 'goodsInfo'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 462 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  17. at App::exec(['type' => 'module', 'module' => ['home', 'Goods', 'goodsInfo']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  18. at App::run() in /www/wwwroot/sun.tpsns.com/thinkphp/start.php line 19 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html
  19. at require('/www/wwwroot/sun.tps...') in /www/wwwroot/sun.tpsns.com/index.php line 137 请求方式GET 请求地址 /index.php/home/Goods/goodsInfo/id/397.html

Environment Variables

GET Data

id
397
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/sun.tpsns.com/index.php
QUERY_STRING
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index.php/home/Goods/goodsInfo/id/397.html
DOCUMENT_URI
/index.php/home/Goods/goodsInfo/id/397.html
DOCUMENT_ROOT
/www/wwwroot/sun.tpsns.com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
216.73.216.241
REMOTE_PORT
57273
SERVER_ADDR
172.31.123.154
SERVER_PORT
80
SERVER_NAME
sun.tpsns.com
REDIRECT_STATUS
200
PATH_INFO
/home/Goods/goodsInfo/id/397.html
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
HTTP_HOST
sun.tpsns.com
HTTP_VIA
1.1 squid-proxy-5b5d847c96-4m6f9 (squid/6.13)
HTTP_X_FORWARDED_FOR
10.1.200.65
HTTP_CACHE_CONTROL
max-age=259200
HTTP_CONNECTION
keep-alive
PHP_SELF
/index.php/home/Goods/goodsInfo/id/397.html
REQUEST_TIME_FLOAT
1776605160.2612
REQUEST_TIME
1776605160
HTTPS
on
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/www/wwwroot/sun.tpsns.com/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
31104000
SITE_URL
https://sun.tpsns.com
HTTP
https
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/sun.tpsns.com/application/
NOW_TIME
1776605160
THINK_VERSION
5.0.15
THINK_START_TIME
1776605160.2618
THINK_START_MEM
323792
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/
LIB_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/
CORE_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/sun.tpsns.com/
EXTEND_PATH
/www/wwwroot/sun.tpsns.com/extend/
VENDOR_PATH
/www/wwwroot/sun.tpsns.com/vendor/
RUNTIME_PATH
/www/wwwroot/sun.tpsns.com/runtime/
LOG_PATH
/www/wwwroot/sun.tpsns.com/runtime/log/
CACHE_PATH
/www/wwwroot/sun.tpsns.com/runtime/cache/
TEMP_PATH
/www/wwwroot/sun.tpsns.com/runtime/temp/
CONF_PATH
/www/wwwroot/sun.tpsns.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Goods
ACTION_NAME
goodsInfo
PREFIX
tp_
SESSION_ID