yh1122银河国际-银河在线游戏娱乐

[8] ErrorException in Solution.php line 30

未定义数组下标: 0

  1. Session::set('solutionId',$data);
  2. $res_data= Db::name('column')->where('isDisable','<>', 1)->where('pId',2)->order('intOrder asc,id asc')->select();
  3. $res_list= Db::name('solution')->where('isDisable','<>', 1)->order('intOrder asc,id asc')->select();
  4. return $this->fetch('solution/solution',['res_data'=>$res_data,'res_list'=>$res_list]);
  5. }
  6. public function solutions(){
  7. $data= Session::get('solutionId');
  8. $far_data= Db::name('column')->where('isDisable','<>', 1)->where('id',$data['ids'])->order('intOrder asc,id asc')->find();
  9. $res_data= Db::name('solution')->where('isDisable','<>', 1)->where('pId',$data['ids'])->order('intOrder asc,id asc')->select();
  10. $first_data=$res_data[0];
  11. return $this->fetch('solution/solutions',['res_data'=>$res_data,'far_data'=>$far_data,'first_data'=>$first_data]);
  12. }
  13. public function solutionview()
  14. {
  15. $viewid =isset($this->viewId)?$this->viewId:'';
  16. $res_view = Db::name('solution')->where('id', $viewid)->where('isDisable',0)->find();
  17. $data= Session::get('solutionId');
  18. $this->title('solution', $res_view['id']);

Call Stack

  1. in Solution.php line 30
  2. at Error::appError(8, 'Undefined offset: 0', '/data/work/html/tmeg...', 30, ['data' => null, 'far_data' => null, 'res_data' => []]) in Solution.php line 30
  3. at Solution->solutions()
  4. at ReflectionMethod->invokeArgs(object(Solution), []) in App.php line 343
  5. at App::invokeMethod([object(Solution), 'solutions'], []) in App.php line 611
  6. at App::module(['officialweb', 'Solution', 'solutions'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  7. at App::exec(['type' => 'module', 'module' => ['officialweb', 'Solution', 'solutions'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/data/work/html/tmeg...') in index.php line 18

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

REDIRECT_PATH_INFO
solutionview
REDIRECT_HTTPS
on
REDIRECT_SSL_TLS_SNI
www.tmega.net
REDIRECT_STATUS
200
HTTPS
on
SSL_TLS_SNI
www.tmega.net
HTTP_USER_AGENT
Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)
HTTP_HOST
www.tmega.net
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip
PATH
/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
Apache Server at www.tmega.net Port 443
SERVER_SOFTWARE
Apache
SERVER_NAME
www.tmega.net
SERVER_ADDR
172.18.104.89
SERVER_PORT
443
REMOTE_ADDR
172.252.205.170
DOCUMENT_ROOT
/data/work/html/tmeganet
SERVER_ADMIN
root@localhost
SCRIPT_FILENAME
/data/work/html/tmeganet/index.php
REMOTE_PORT
49668
REDIRECT_URL
/solutionview
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/solutionview
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1655545626.777
REQUEST_TIME
1655545626
PATH_INFO
solutionview
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data/work/html/tmeganet/application/
THINK_VERSION
5.0.24
THINK_START_TIME
1655545626.7777
THINK_START_MEM
257200
EXT
.php
DS
/
THINK_PATH
/data/work/html/tmeganet/thinkphp/
LIB_PATH
/data/work/html/tmeganet/thinkphp/library/
CORE_PATH
/data/work/html/tmeganet/thinkphp/library/think/
TRAIT_PATH
/data/work/html/tmeganet/thinkphp/library/traits/
ROOT_PATH
/data/work/html/tmeganet/
EXTEND_PATH
/data/work/html/tmeganet/extend/
VENDOR_PATH
/data/work/html/tmeganet/vendor/
RUNTIME_PATH
/data/work/html/tmeganet/runtime/
LOG_PATH
/data/work/html/tmeganet/runtime/log/
CACHE_PATH
/data/work/html/tmeganet/runtime/cache/
TEMP_PATH
/data/work/html/tmeganet/runtime/temp/
CONF_PATH
/data/work/html/tmeganet/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
Baidu
sogou