[8] ErrorException in 9d6889db057a8e45e91cc9d5be8003fc.php line 194

Trying to access array offset on value of type null

  1. </div>
  2. </div>
  3. <div class="shop-product-content tab-content">
  4. <div id="grid-sidebar1" class="tab-pane fade active show">
  5. <div class="row">
  6. <?php if(is_array($res) || $res instanceof \think\Collection || $res instanceof \think\Paginator): $i = 0; $__LIST__ = $res;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
  7. <div class="col-lg-6 col-md-6 col-xl-2">
  8. <div class="product-wrapper mb-30">
  9. <div class="product-img">
  10. <a href="/cos_product_<?php echo htmlentities($vo['profile']['id']); ?>.html">
  11. <img src="<?php echo htmlentities($vo['profile']['img1']); ?>" alt="<?php echo htmlentities($vo['profile']['title']); ?>">
  12. </a>
  13. <span>hot</span>
  14. </div>
  15. <div class="product-content">
  16. <h4><a href="/cos_product_<?php echo htmlentities($vo['profile']['id']); ?>.html" title="<?php echo htmlentities($vo['profile']['title']); ?>"><?php echo htmlentities($vo['profile']['title']); ?></a></h4>
  17. <span><?php echo htmlentities($vo['profile']['price']); ?><?php echo htmlentities($GLOBAL['money']); ?></span>
  18. </div>
  19. </div>

Call Stack

  1. in 9d6889db057a8e45e91cc9d5be8003fc.php line 194
  2. at Error::appError(8, 'Trying to access arr...', '/home/jbcxqimy/publi...', 194, ['cacheFile' => '/home/jbcxqimy/publi...', 'vars' => ['res' => object(Bootstrap), 'count' => 545, 'nowNumber' => 30, ...], 'res' => object(Bootstrap), ...]) in 9d6889db057a8e45e91cc9d5be8003fc.php line 194
  3. at include('/home/jbcxqimy/publi...') in File.php line 59
  4. at File->read('/home/jbcxqimy/publi...', ['res' => object(Bootstrap), 'count' => 545, 'nowNumber' => 30, ...]) in Template.php line 226
  5. at Template->fetch('/home/jbcxqimy/publi...', ['res' => object(Bootstrap), 'count' => 545, 'nowNumber' => 30, ...], []) in Think.php line 93
  6. at Think->fetch('/home/jbcxqimy/publi...', ['res' => object(Bootstrap), 'count' => 545, 'nowNumber' => 30, ...], []) in View.php line 189
  7. at View->fetch('home@server/hot', ['res' => object(Bootstrap), 'count' => 545, 'nowNumber' => 30, ...], []) in Controller.php line 161
  8. at Controller->fetch('home@server/hot', ['res' => object(Bootstrap), 'count' => 545, 'nowNumber' => 30, ...]) in Server.php line 30
  9. at Server->hotGoods(object(Request))
  10. at ReflectionMethod->invokeArgs(object(Server), [object(Request)]) in Container.php line 395
  11. at Container->invokeReflectMethod(object(Server), object(ReflectionMethod), ['page' => '1', 'convert' => false]) in Module.php line 132
  12. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  13. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  14. at Middleware->think\{closure}(object(Request))
  15. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  16. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  17. at Module->exec() in Dispatch.php line 168
  18. at Dispatch->run() in App.php line 432
  19. at App->think\{closure}(object(Request), object(Closure), null)
  20. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  21. at Middleware->think\{closure}(object(Request))
  22. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  23. at Middleware->dispatch(object(Request)) in App.php line 435
  24. at App->run() in index.php line 22

Environment Variables

GET Data
page 1
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER jbcxqimy
HOME /home/jbcxqimy
SCRIPT_NAME /index.php
REQUEST_URI /hot.html?page=1
QUERY_STRING page=1
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/2.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING page=1
REDIRECT_URL /hot.html
REMOTE_PORT 35742
SCRIPT_FILENAME /home/jbcxqimy/public_html/biccose/public/index.php
SERVER_ADMIN webmaster@biccose.com.jbc.xqi.mybluehost.me
CONTEXT_DOCUMENT_ROOT /home/jbcxqimy/public_html/biccose/public
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/jbcxqimy/public_html/biccose/public
REMOTE_ADDR 3.239.59.193
SERVER_PORT 443
SERVER_ADDR 162.240.144.84
SERVER_NAME www.biccose.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
PATH /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
HTTP_HOST www.biccose.com
HTTP_REFERER https://www.biccose.com/hot.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
H2_STREAM_TAG 2677-2307-5
H2_STREAM_ID 5
H2_PUSHED_ON
H2_PUSHED
H2_PUSH off
H2PUSH off
HTTP2 on
SSL_TLS_SNI www.biccose.com
HTTPS on
UNIQUE_ID ZflDhynsw-FfDXLxVcB1cAAAAQ8
REDIRECT_STATUS 200
REDIRECT_H2_STREAM_TAG 2677-2307-5
REDIRECT_H2_STREAM_ID 5
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSH off
REDIRECT_H2PUSH off
REDIRECT_HTTP2 on
REDIRECT_SSL_TLS_SNI www.biccose.com
REDIRECT_HTTPS on
REDIRECT_UNIQUE_ID ZflDhynsw-FfDXLxVcB1cAAAAQ8
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710834567.8776
REQUEST_TIME 1710834567
argv [ "page=1" ]
argc 1
Environment Variablesempty
ThinkPHP Constantsempty