http://wechat.xcx.santic.com/

IndexController :: index

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\IndexController::index"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"index"
_route_params
[]

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
accept-encoding
"gzip"
accept-language
"en"
content-length
""
content-type
""
host
"wechat.xcx.santic.com"
upgrade-insecure-requests
"1"
user-agent
"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Wed, 23 Apr 2025 16:05:58 GMT"
x-debug-exception
"Impossible%20to%20access%20an%20attribute%20%28%22oPrice%22%29%20on%20a%20boolean%20variable%20%28%22%22%29."
x-debug-exception-file
"%2Fhome%2Fwwwroot%2Fada.santic.com%2Ftemplates%2Fcommon%2F_verticalRight.html.twig:15"
x-debug-token
"acd0d7"
x-debug-token-link
"http://wechat.xcx.santic.com/_profiler/8e847c"
x-previous-debug-token
"8e847c"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"cdad5adedd9305ea202d64bed558e9db"
DATABASE_HOST
"gz-cynosdbmysql-grp-i3n1lu5z.sql.tencentcdb.com:25729"
DATABASE_NAME
"oversea"
DATABASE_PASS
"L!aRKa.ss5H343q"
DATABASE_URL
"mysql://chenyuzhi:L!aRKa.ss5H343q@gz-cynosdbmysql-grp-i3n1lu5z.sql.tencentcdb.com:25729/oversea"
DATABASE_USER
"chenyuzhi"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/home/wwwroot/ada.santic.com/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/home/www"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_ACCEPT_LANGUAGE
"en"
HTTP_HOST
"wechat.xcx.santic.com"
HTTP_UPGRADE_INSECURE_REQUESTS
"1"
HTTP_USER_AGENT
"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"125.122.15.30"
REMOTE_PORT
"36980"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1745424358
REQUEST_TIME_FLOAT
1745424358.3602
REQUEST_URI
"/"
SCRIPT_FILENAME
"/home/wwwroot/ada.santic.com/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.16.0.10"
SERVER_NAME
"ada.santic.com"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.18.0"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_HOST,DATABASE_USER,DATABASE_PASS,DATABASE_NAME,DATABASE_URL"
USER
"www"

Sub Requests 1

ErrorController (token = 8e847c)

Key Value
_controller
"error_controller"
exception
Twig\Error\RuntimeError {#1446
  -lineno: 15
  -name: "common/_verticalRight.html.twig"
  -rawMessage: "Impossible to access an attribute ("oPrice") on a boolean variable ("")."
  -sourcePath: "/home/wwwroot/ada.santic.com/templates/common/_verticalRight.html.twig"
  -sourceCode: """
    <div class="indexBannerTab {% if loop.first %}activeR{% endif %}">\n
        <div class="bigImg indexBigTab">\n
            <div class="imgView">\n
                {% for goodses in n.oIndexHighlightGoodses %}\n
                    {#                                {{ dump(goodses.oGoods) }}#}\n
                    <a href="{{ path('detail',{ 'id':'15'}) }}" {% if loop.first %}class="showImg"{% endif %}>\n
                        <img src="{{ cdn_url~goodses.oGoods.oGoodsImages|first.oUrl }}"  alt="img">\n
                        <div class="desc">\n
                            <div class="star">\n
                                <div>\n
                                    <span class="commonStar" data-score="{{ goodses.oGoods.oStar }}"></span>\n
                                </div>\n
                            </div>\n
                            <div class="name"> {{ goodses.oGoods.oName }} </div>\n
                            <p class="price">${{ goodses.oGoods.oGoodsImages|first.oGoodsSizes|first.oPrice }} </p>\n
                        </div>\n
                    </a>\n
                {% endfor %}\n
            </div>\n
    \n
        </div>\n
        <ul class="miniImg clearfix">\n
            {% for goodses in n.oIndexHighlightGoodses %}\n
                <li  class="fl {% if loop.first %}activeLi{% endif %}" onclick="miniTab({{ key }},{{ loop.index0 }})" >\n
                    <img src="{{ cdn_url~goodses.oGoods.oGoodsImages|first.oUrl }}" alt="imgMini">\n
                    <div class="btnView">\n
                        <a target="_blank" class="goList" href="{{ path('detail',{ 'id':goodses.oGoods.id}) }}">查看详情</a>\n
                    </div>\n
                </li>\n
            {% endfor %}\n
        </ul>\n
    </div>\n
    """
  #message: "Impossible to access an attribute ("oPrice") on a boolean variable ("")."
  #code: 0
  #file: "/home/wwwroot/ada.santic.com/templates/common/_verticalRight.html.twig"
  #line: 15
  trace: {
    /home/wwwroot/ada.santic.com/templates/common/_verticalRight.html.twig:15 {
      twig_get_attribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) …
      ›     <div class="name"> {{ goodses.oGoods.oName }} </div>    <p class="price">${{ goodses.oGoods.oGoodsImages|first.oGoodsSizes|first.oPrice }} </p></div>
    }
    /home/wwwroot/ada.santic.com/templates/common/_verticalRight.html.twig:15 {
      __TwigTemplate_304179eb0306ce8f255cd6e110f4593f5d55197a780548977b58f7f520592de7->doDisplay(array $context, array $blocks = []) …
      ›     <div class="name"> {{ goodses.oGoods.oName }} </div>    <p class="price">${{ goodses.oGoods.oGoodsImages|first.oGoodsSizes|first.oPrice }} </p></div>
    }
    /home/wwwroot/ada.santic.com/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /home/wwwroot/ada.santic.com/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /home/wwwroot/ada.santic.com/vendor/twig/twig/src/Template.php:379 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /home/wwwroot/ada.santic.com/vendor/twig/twig/src/TemplateWrapper.php:40 {
      Twig\TemplateWrapper->render(array $context = []): string …
      ›     // as it should only be used by internal code    return $this->template->render($context, \func_get_args()[1] ?? []);}
    }
    /home/wwwroot/ada.santic.com/vendor/twig/twig/src/Extension/CoreExtension.php:1265 {
      twig_include(Environment $env, $context, $template, $variables = [], $withContext = true, $ignoreMissing = false, $sandboxed = false) …
      › 
      ›     return $loaded ? $loaded->render($variables) : '';} finally {
    }
    /home/wwwroot/ada.santic.com/var/cache/dev/twig/1b/1b3cc6c3aa0ed72640dfd132c223983aad3a409aaac379be1c27d134c57205ab.php:207 {
      __TwigTemplate_c525e23695abc2461bbb53c96965d9d0dca8cca610b892e55dc738cf70b90b5f->block_body($context, array $blocks = []) …
      › echo "                    ";echo twig_include($this->env, $context, "common/_verticalRight.html.twig", ["key" => $context["key"], "n" => $context["n"]]);echo "
    }
    /home/wwwroot/ada.santic.com/vendor/twig/twig/src/Template.php:171 {
      Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
      › try {    $template->$block($context, $blocks);} catch (Error $e) {
    }
    /home/wwwroot/ada.santic.com/templates/base.html.twig:95 {
      __TwigTemplate_6b358a3fbbecf742829d1dedaeae1c8b83c0c085fe86dd912bb8ee32ea541d6e->doDisplay(array $context, array $blocks = []) …
      › {{ include('common/_searchCommon.html.twig') }}{% block body %}{% endblock %}{% block javascripts %}{% endblock %}
    }
    /home/wwwroot/ada.santic.com/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /home/wwwroot/ada.santic.com/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /home/wwwroot/ada.santic.com/var/cache/dev/twig/1b/1b3cc6c3aa0ed72640dfd132c223983aad3a409aaac379be1c27d134c57205ab.php:48 {
      __TwigTemplate_c525e23695abc2461bbb53c96965d9d0dca8cca610b892e55dc738cf70b90b5f->doDisplay(array $context, array $blocks = []) …
      › $this->parent = $this->loadTemplate("base.html.twig", "index/index.html.twig", 1);$this->parent->display($context, array_merge($this->blocks, $blocks));}
    /home/wwwroot/ada.santic.com/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /home/wwwroot/ada.santic.com/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /home/wwwroot/ada.santic.com/vendor/twig/twig/src/Template.php:379 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /home/wwwroot/ada.santic.com/vendor/twig/twig/src/TemplateWrapper.php:40 {
      Twig\TemplateWrapper->render(array $context = []): string …
      ›     // as it should only be used by internal code    return $this->template->render($context, \func_get_args()[1] ?? []);}
    }
    /home/wwwroot/ada.santic.com/vendor/twig/twig/src/Environment.php:277 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /home/wwwroot/ada.santic.com/vendor/symfony/framework-bundle/Controller/AbstractController.php:249 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView(string $view, array $parameters = []): string …
      › 
      ›     return $this->container->get('twig')->render($view, $parameters);}
    }
    /home/wwwroot/ada.santic.com/vendor/symfony/framework-bundle/Controller/AbstractController.php:257 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], Response $response = null): Response …
      › {    $content = $this->renderView($view, $parameters);}
    /home/wwwroot/ada.santic.com/src/Controller/IndexController.php:49 {
      App\Controller\IndexController->index(): Response …
      ›     'highlights' => $highlights,    'indexGoods' => $indexGoods,]);
    }
    /home/wwwroot/ada.santic.com/vendor/symfony/http-kernel/HttpKernel.php:157 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /home/wwwroot/ada.santic.com/vendor/symfony/http-kernel/HttpKernel.php:79 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /home/wwwroot/ada.santic.com/vendor/symfony/http-kernel/Kernel.php:196 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /home/wwwroot/ada.santic.com/public/index.php:28 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#79 …6}