[0] ThrowableError in 615fcc5bbc1953ebe0eb93b7b99f03e1.php line 316

致命错误: Call to a member function render() on null

  1. <div id="hd_main" style="min-width: 1100px;">
  2. <div id="res" class="res">
  3. <div id="result"> <?php if(is_array($lists) || $lists instanceof \think\Collection || $lists instanceof \think\Paginator): $i = 0; $__LIST__ = $lists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs): $mod = ($i % 2 );++$i;?>
  4. <div class="g">
  5. <h2><a href="<?php echo url($rs['module'].'/content/show',['id'=>$rs['id']],'html',true); ?>" target="_blank" class="s"><?php echo $rs['title']; ?></a></h2>
  6. <div class="std"><?php echo $rs['des']; ?></div>
  7. <span class="a"><?php echo url($rs['module'].'/content/show',['id'=>$rs['id']],'html',true); ?></span> <span class="a"><?php echo $rs['create_time']; ?></span></div>
  8. <?php endforeach; endif; else: echo "" ;endif; ?> </div>
  9. <div class="cl"></div>
  10. <div id="sopage"> <?php echo $data->render(); ?> </div>
  11. </div>
  12. <div id="sidebar">
  13. <div class="rankbox">
  14. <div class="title">今日实时热搜</div>
  15. <ul class="ranklist">
  16. <?php if(is_array($resou) || $resou instanceof \think\Collection || $resou instanceof \think\Paginator): $k = 0; $__LIST__ = $resou;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs): $mod = ($k % 2 );++$k;?>
  17. <li><span class="num <?php if($k < '4'): ?>top1<?php endif; ?>"><?php echo $k; ?></span><a href="<?php echo url('search/index/lists','html',true); ?>?keyword=<?php echo $rs['keyword']; ?>"><?php echo $rs['keyword']; ?></a></li>
  18. <?php endforeach; endif; else: echo "" ;endif; ?>
  19. </ul>

Call Stack

  1. in 615fcc5bbc1953ebe0eb93b7b99f03e1.php line 316
  2. at include() in File.php line 50
  3. at File->read('/www/wwwroot/www.e-e...', ['auto_tpl_base_layout' => '/www/wwwroot/www.e-e...', 'admin' => false, 'userdb' => false, ...]) in Template.php line 188
  4. at Template->fetch('/www/wwwroot/www.e-e...', ['auto_tpl_base_layout' => '/www/wwwroot/www.e-e...', 'admin' => false, 'userdb' => false, ...], []) in Think.php line 86
  5. at Think->fetch('/www/wwwroot/www.e-e...', ['auto_tpl_base_layout' => '/www/wwwroot/www.e-e...', 'admin' => false, 'userdb' => false, ...], []) in View.php line 163
  6. at View->fetch('/www/wwwroot/www.e-e...', ['auto_tpl_base_layout' => '/www/wwwroot/www.e-e...', 'admin' => false, 'userdb' => false, ...], ['__ROOT__' => '/', '__URL__' => '//search/index', '__STATIC__' => '/public/static', ...], []) in Controller.php line 120
  7. at Controller->fetch('/www/wwwroot/www.e-e...', ['admin' => false, 'userdb' => false, 'timestamp' => 1596928086, ...], [], []) in Base.php line 266
  8. at Base->fetch('/www/wwwroot/www.e-e...', ['admin' => false, 'userdb' => false, 'timestamp' => 1596928086, ...]) in Index.php line 65
  9. at Index->lists('0元', '')
  10. at ReflectionMethod->invokeArgs(object(Index), ['0元', '']) in App.php line 348
  11. at App::invokeMethod([object(Index), 'lists'], []) in App.php line 612
  12. at App::module(['search', 'index', 'lists'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 461
  13. at App::exec(['type' => 'module', 'module' => ['search', 'index', 'lists'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  14. at App::run() in start.php line 19
  15. at require('/www/wwwroot/www.e-e...') in index.php line 29

Environment Variables

GET Data

keyword
0元
POST Data
empty
Files
empty

Cookies

user_sid
0b62fa2670
Session
empty

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/search/lists.html?keyword=0%E5%85%83
QUERY_STRING
keyword=0%E5%85%83
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
keyword=0%E5%85%83
REDIRECT_URL
/search/lists.html
REMOTE_PORT
51066
SCRIPT_FILENAME
/www/wwwroot/www.haotaotuan.com/index.php
SERVER_ADMIN
webmasterexample.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/www.haotaotuan.com/
CONTEXT_PREFIX
REQUEST_SCHEME
https
DOCUMENT_ROOT
/www/wwwroot/www.haotaotuan.com/
REMOTE_ADDR
23.224.20.170
SERVER_PORT
443
SERVER_ADDR
122.114.12.23
SERVER_NAME
www.haotaotuan.com
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
<address>Apache Server at www.haotaotuan.com Port 443</address>
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/sbin:/usr/sbin:/bin:/usr/bin
HTTP_REFERER
http://www.haotaotuan.com/
HTTP_CLIENT_IP
35.172.233.2
HTTP_X_FORWARDED_FOR
35.172.233.2
HTTP_USER_AGENT
CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_CONNECTION
keep-alive
HTTP_ACCEPT
*/*
HTTP_HOST
www.haotaotuan.com
proxy-nokeepalive
1
SSL_TLS_SNI
www.haotaotuan.com
HTTPS
on
SCRIPT_URI
http://www.haotaotuan.com/search/lists.html
SCRIPT_URL
/search/lists.html
REDIRECT_STATUS
200
REDIRECT_SSL_TLS_SNI
www.haotaotuan.com
REDIRECT_HTTPS
on
REDIRECT_PATH_INFO
search/lists.html
REDIRECT_SCRIPT_URI
http://www.haotaotuan.com/search/lists.html
REDIRECT_SCRIPT_URL
/search/lists.html
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1596928086.0609
REQUEST_TIME
1596928086
PATH_INFO
search/lists.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.haotaotuan.com/application/
ENTRANCE
index
THINK_VERSION
5.0.18
THINK_START_TIME
1596928086.0619
THINK_START_MEM
410072
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.haotaotuan.com/thinkphp/
LIB_PATH
/www/wwwroot/www.haotaotuan.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.haotaotuan.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.haotaotuan.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.haotaotuan.com/
EXTEND_PATH
/www/wwwroot/www.haotaotuan.com/extend/
VENDOR_PATH
/www/wwwroot/www.haotaotuan.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.haotaotuan.com/runtime/
LOG_PATH
/www/wwwroot/www.haotaotuan.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.haotaotuan.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.haotaotuan.com/runtime/temp/
CONF_PATH
/www/wwwroot/www.haotaotuan.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/www/wwwroot/www.haotaotuan.com/vendor/ezyang/htmlpurifier/library
TEMPLATE_PATH
/www/wwwroot/www.haotaotuan.com/template/
IS_POST
false
PUBLIC_URL
/public/
PUBLIC_PATH
/www/wwwroot/www.haotaotuan.com/public/
UPLOAD_URL
/public/uploads/
UPLOAD_PATH
/www/wwwroot/www.haotaotuan.com/public/uploads/
STATIC_URL
/public/static/
STATIC_PATH
/www/wwwroot/www.haotaotuan.com/public/static/
PLUGINS_PATH
/www/wwwroot/www.haotaotuan.com/plugins/
CACHE_DIR
/www/wwwroot/www.haotaotuan.com/runtime/
QUN
商圈
ADMIN_FILENAME
admin.php
LOAD_INDEXBASE
true