[8] ErrorException in 4e42724f0a905e587ef245cbbacf0591.php line 134

未定义变量: type

  1. </div>
  2. <link rel="stylesheet" href="/lib/theme-chalk/index.css">
  3. <link rel="stylesheet" href="/static/css/book_list.css" />
  4. <div class="container" id="app">
  5. <input type="hidden" value="<?php if(!(empty($title) || (($title instanceof \think\Collection || $title instanceof \think\Paginator ) && $title->isEmpty()))): ?><?php echo htmlentities($title); ?><?php endif; ?>" id="title">
  6. <div class="books-content">
  7. <div class="source-left-box">
  8. <?php if($type == 3): ?>
  9. <ul class="books-type-box">
  10. <li class="books-type-title text-center">
  11. <img src="/static/img/new.png" />
  12. 新书上市
  13. </li>
  14. </ul>
  15. <?php elseif($type == 2): ?>
  16. <ul class="books-type-box">
  17. <li class="books-type-title text-center">

Call Stack

  1. in 4e42724f0a905e587ef245cbbacf0591.php line 134
  2. at Error::appError(8, 'Undefined variable: ...', '/opt/www/wwwroot/www...', 134, ['cacheFile' => '/opt/www/wwwroot/www...', 'vars' => ['login_member_info' => null, 'booktype' => [['id' => 51, 'name' => '学前教育专业', 'pid' => 0, ...], ['id' => 55, 'name' => '...', 'pid' => 0, ...], ['id' => 61, 'name' => '汉语言系列', 'pid' => 0, ...], ...], 'm_id' => null, ...], 'login_member_info' => null, ...]) in 4e42724f0a905e587ef245cbbacf0591.php line 134
  3. at include('/opt/www/wwwroot/www...') in File.php line 59
  4. at File->read('/opt/www/wwwroot/www...', ['login_member_info' => null, 'booktype' => [['id' => 51, 'name' => '学前教育专业', 'pid' => 0, ...], ['id' => 55, 'name' => '...', 'pid' => 0, ...], ['id' => 61, 'name' => '汉语言系列', 'pid' => 0, ...], ...], 'm_id' => null, ...]) in Template.php line 226
  5. at Template->fetch('/opt/www/wwwroot/www...', ['login_member_info' => null, 'booktype' => [['id' => 51, 'name' => '学前教育专业', 'pid' => 0, ...], ['id' => 55, 'name' => '...', 'pid' => 0, ...], ['id' => 61, 'name' => '汉语言系列', 'pid' => 0, ...], ...], 'm_id' => null, ...], []) in Think.php line 93
  6. at Think->fetch('index/book_list', ['login_member_info' => null, 'booktype' => [['id' => 51, 'name' => '学前教育专业', 'pid' => 0, ...], ['id' => 55, 'name' => '...', 'pid' => 0, ...], ['id' => 61, 'name' => '汉语言系列', 'pid' => 0, ...], ...], 'm_id' => null, ...], []) in View.php line 192
  7. at View->fetch('index/book_list', [], [], false) in View.php line 42
  8. at View->output('index/book_list') in Response.php line 396
  9. at Response->getContent() in Response.php line 128
  10. at Response->send() in index.php line 30

Environment Variables

GET Data
page 3
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /opt/www/wwwroot/www.wzdbook.com/public/index.php
QUERY_STRING s=/index/Index/tslb/t_t_id/10&page=3
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /index/Index/tslb/t_t_id/10?page=3
DOCUMENT_URI /index.php
DOCUMENT_ROOT /opt/www/wwwroot/www.wzdbook.com/public
SERVER_PROTOCOL HTTP/2.0
REQUEST_SCHEME https
HTTPS on
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.22.0
REMOTE_ADDR 100.24.20.141
REMOTE_PORT 37500
SERVER_ADDR 124.232.163.135
SERVER_PORT 443
SERVER_NAME www.wzdbook.com
REDIRECT_STATUS 200
PATH_INFO
HTTP_HOST www.wzdbook.com
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711624305.8431
REQUEST_TIME 1711624305
Environment Variablesempty
ThinkPHP Constants
APP_EXTEND /opt/www/wwwroot/www.wzdbook.com/extend/
PHP_FLOAT_DIG 15
PHP_FLOAT_EPSILON 2.2204460492503E-16
PHP_FLOAT_MIN 2.2250738585072E-308
PHP_FLOAT_MAX 1.7976931348623E+308
PHP_OS_FAMILY Linux
PUBLIC_PATH /
DS /