http://tienda.sharksgames.es/items/villagers?p=items%2Fvillagers

ItemsController :: itemsIndex

Request

GET Parameters

Key Value
p
"items/villagers"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\ItemsController::itemsIndex"
_firewall_context
"security.firewall.map.context.main"
_route
"items_type"
_route_params
[
  "currentPage" => 1
  "type" => "villagers"
]
currentPage
1
type
"villagers"

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
accept-encoding
"gzip,deflate"
connection
"keep-alive"
from
"support@search.yandex.ru"
host
"tienda.sharksgames.es"
user-agent
"Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)"
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
"Fri, 15 Nov 2024 22:44:51 GMT"
x-debug-token
"e63455"
x-debug-token-link
"http://tienda.sharksgames.es/_profiler/edd2ca"
x-previous-debug-token
"edd2ca"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

Key Value
Created
"Fri, 15 Nov 24 23:44:50 +0100"
Last used
"Fri, 15 Nov 24 23:44:50 +0100"
Lifetime
"0"

Session Attributes

Attribute Value
idiom
"es"
idiomas
[
  "es"
  "us"
  "de"
  "fr"
  "it"
  "ru"
  "nl"
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"4d79c3e90021125eec96337e5024fc6e"
DATABASE_HOST
"127.0.0.1"
DATABASE_PASSWORD
"4ng3lsf00d13"
DATABASE_SCHEMA
"acnh"
DATABASE_USER
"foodieAngels"
MYSQL_VERSION
"latest"
OAUTH_FACEBOOK_ID
"896653894079027"
OAUTH_FACEBOOK_SECRET
"e7beac05dc4eefef62f8c416ee8eb135"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/acnh/public/"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/acnh/public/"
GATEWAY_INTERFACE
"CGI/1.1"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
"gzip,deflate"
HTTP_CONNECTION
"keep-alive"
HTTP_FROM
"support@search.yandex.ru"
HTTP_HOST
"tienda.sharksgames.es"
HTTP_USER_AGENT
"Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"p=items/villagers"
REDIRECT_QUERY_STRING
"p=items/villagers"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/items/villagers"
REMOTE_ADDR
"87.250.224.14"
REMOTE_PORT
"44514"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1731710690
REQUEST_TIME_FLOAT
1731710690.6005
REQUEST_URI
"/items/villagers"
SCRIPT_FILENAME
"/var/www/acnh/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"5.135.160.91"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"tienda.sharksgames.es"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.29 (Ubuntu) Server at tienda.sharksgames.es Port 80</address>\n"
SERVER_SOFTWARE
"Apache/2.4.29 (Ubuntu)"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_HOST,DATABASE_USER,DATABASE_PASSWORD,DATABASE_SCHEMA,MYSQL_VERSION,OAUTH_FACEBOOK_ID,OAUTH_FACEBOOK_SECRET"

Sub Requests 1

ErrorController (token = edd2ca)

Key Value
_controller
"error_controller"
exception
Twig\Error\RuntimeError {#1422
  -lineno: 37
  -name: "items/index.html.twig"
  -rawMessage: "Neither the property "internalid" nor one of the methods "internalid()", "getinternalid()"/"isinternalid()"/"hasinternalid()" or "__call()" exist and have public access in class "App\Entity\DataVillagers"."
  -sourcePath: "/home/www/www/acnh/templates/items/index.html.twig"
  -sourceCode: """
    {% extends 'base.html.twig' %}\n
    \n
    {% block title %}Items!{% endblock %}\n
    \n
    {% block body %}\n
    \n
    \n
        {% block header %}\n
            {% set menu = 'foo' %}\n
            {{ parent() }}\n
        {% endblock %}\n
    \n
    \n
        {% block content %}\n
            <div id="main" role="main" class="container-fluid">\n
                <!-- contained-->\n
                <div class="contained">\n
                    {% block aside %}\n
                        {% include 'aside.html.twig' %}\n
                    {% endblock %}\n
                    {% block principal %}\n
                        <div id="page-content">\n
                            <div class="container-fluid clearfix">\n
                                <div id="contenedor"> <!-- contenedor flex -->\n
                                    {% if items is defined %}\n
                                        {% for item in items %}\n
                                            <div class="item">\n
                                                <div class="contenido">\n
                                                    <div>\n
                                                        <img src="{{ asset('build/iconos/Sombra Wishlist.png') }}">\n
                                                    </div>\n
                                                    <div>\n
                                                        <img src="{{ rutaimg }}{{ item.filename }}.png"  alt="" style="max-width: 128px"/>\n
                                                    </div>\n
                                                </div>\n
                                                <div class="details">\n
                                                    <span><input type="checkbox" name="{{ typeName }}[{{ item.id }}]" value="{{ item.internalid }}">{{ translateItem(item.internalid, type)|title }}</span><br>\n
                                                    {% if item.buy is defined %}<img src="{{ asset('build/iconos/baya.png') }}">{{ item.buy }} {% endif %}\n
                                                </div>\n
                                            </div>\n
                                        {% endfor %}\n
                                    {% endif %}\n
                                    <div class="clearfix"></div>\n
    \n
    \n
                                </div>\n
                                {% if maxPages is defined %}\n
                                <div class="paginate">\n
                                    {% if maxPages > 1 %}\n
    \n
                                        {%if thisPage > 1 %}\n
    \n
                                            {% if category is defined %}\n
                                                <a href="{{ path('items_type_category', {type: typeName, currentPage: thisPage-1 < 1 ? 1 : thisPage-1, category: category}) }}"><i class="fas fa-angle-left"></i></a>\n
    \n
                                            {% else %}\n
                                                <a href="{{ path('items_type', {type: typeName, currentPage: thisPage-1 < 1 ? 1 : thisPage-1}) }}"><i class="fas fa-angle-left"></i></a>\n
                                            {% endif %}\n
                                        {% endif %}\n
    \n
                                        {# Render each page number #}\n
                                        {% for i in 1..maxPages %}\n
    \n
                                            {% if i==thisPage %}\n
                                                <a class="currentpage">{{ i }}</a>\n
                                            {% else %}\n
                                                {% if (maxPages>10 and i < thisPage+6 and i > thisPage-6) or (i < 9 and thisPage<9)   %}\n
                                                    {% if category is defined %}\n
                                                        <a href="{{ path('items_type_category', { type: typeName, currentPage: i, category: category}) }}">{{ i }}</a>\n
                                                    {% else %}\n
                                                        <a href="{{ path('items_type', {type: typeName, currentPage: i}) }}">{{ i }}</a>\n
                                                    {% endif %}\n
                                                {%  else %}\n
    \n
                                                {% endif %}\n
                                            {% endif %}\n
    \n
                                        {% endfor %}\n
    \n
                                        {# `»` arrow #}\n
                                        {%if thisPage < maxPages %}\n
    \n
                                            {% if category is defined %}\n
                                                <a href="{{ path('items_type_category', {type: typeName, currentPage: thisPage+1 <= maxPages ? thisPage+1 : thisPage, category: category}) }}"><i class="fas fa-angle-right"></i></a>\n
                                            {% else %}\n
                                                <a href="{{ path('items_type', { type: typeName, currentPage: thisPage+1 <= maxPages ? thisPage+1 : thisPage}) }}"><i class="fas fa-angle-right"></i></a>\n
                                            {% endif %}\n
                                        {% endif %}\n
    \n
                                    {% endif %}\n
                                {% endif %}\n
                            </div>\n
                        </div>\n
                    </div>\n
                    {% endblock %}\n
                </div>\n
            </div>\n
        {% endblock %}\n
    \n
    \n
        {% block javascripts %}\n
            {{ encore_entry_script_tags('app') }}\n
        {% endblock %}\n
    {% endblock %}\n
    """
  #message: "Neither the property "internalid" nor one of the methods "internalid()", "getinternalid()"/"isinternalid()"/"hasinternalid()" or "__call()" exist and have public access in class "App\Entity\DataVillagers"."
  #code: 0
  #file: "/home/www/www/acnh/templates/items/index.html.twig"
  #line: 37
  trace: {
    /home/www/www/acnh/templates/items/index.html.twig:37 {
      twig_get_attribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) …
      › <div class="details">    <span><input type="checkbox" name="{{ typeName }}[{{ item.id }}]" value="{{ item.internalid }}">{{ translateItem(item.internalid, type)|title }}</span><br>    {% if item.buy is defined %}<img src="{{ asset('build/iconos/baya.png') }}">{{ item.buy }} {% endif %}
    }
    /home/www/www/acnh/var/cache/dev/twig/9d/9d38b3e5f0c1f33d743facaf8fa0fd59259514288f939613c9a10e960e20f7e4.php:245 {
      __TwigTemplate_ea3366528d2f7eed49bf716ca54d3dd5fb57c3e5924e9b857c9d40464bc58a97->block_principal($context, array $blocks = []) …
      › echo "]\" value=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "internalid", [], "any", false, false, false, 37), "html", null, true);echo "\">";
    }
    /home/www/www/acnh/vendor/twig/twig/src/Template.php:173 {
      Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
      › try {    $template->$block($context, $blocks);} catch (Error $e) {
    }
    /home/www/www/acnh/var/cache/dev/twig/9d/9d38b3e5f0c1f33d743facaf8fa0fd59259514288f939613c9a10e960e20f7e4.php:163 {
      __TwigTemplate_ea3366528d2f7eed49bf716ca54d3dd5fb57c3e5924e9b857c9d40464bc58a97->block_content($context, array $blocks = []) …
      › echo "                ";$this->displayBlock('principal', $context, $blocks);// line 96
    }
    /home/www/www/acnh/vendor/twig/twig/src/Template.php:173 {
      Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
      › try {    $template->$block($context, $blocks);} catch (Error $e) {
    }
    /home/www/www/acnh/templates/items/index.html.twig:14 {
      __TwigTemplate_ea3366528d2f7eed49bf716ca54d3dd5fb57c3e5924e9b857c9d40464bc58a97->block_body($context, array $blocks = []) …
      › 
      › {% block content %}    <div id="main" role="main" class="container-fluid">
    }
    /home/www/www/acnh/vendor/twig/twig/src/Template.php:173 {
      Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
      › try {    $template->$block($context, $blocks);} catch (Error $e) {
    }
    /home/www/www/acnh/templates/base.html.twig:24 {
      __TwigTemplate_b315508e1847501420bb7ea0bb1522dff6357b5b3a3597340755e3243035c57e->doDisplay(array $context, array $blocks = []) …
      › <body>{% block body %}    {% block header %}
    }
    /home/www/www/acnh/vendor/twig/twig/src/Template.php:396 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /home/www/www/acnh/vendor/twig/twig/src/Template.php:369 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /home/www/www/acnh/var/cache/dev/twig/9d/9d38b3e5f0c1f33d743facaf8fa0fd59259514288f939613c9a10e960e20f7e4.php:54 {
      __TwigTemplate_ea3366528d2f7eed49bf716ca54d3dd5fb57c3e5924e9b857c9d40464bc58a97->doDisplay(array $context, array $blocks = []) …
      › $this->parent = $this->loadTemplate("base.html.twig", "items/index.html.twig", 1);$this->parent->display($context, array_merge($this->blocks, $blocks));}
    /home/www/www/acnh/vendor/twig/twig/src/Template.php:396 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /home/www/www/acnh/vendor/twig/twig/src/Template.php:369 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /home/www/www/acnh/vendor/twig/twig/src/Template.php:381 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /home/www/www/acnh/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/www/www/acnh/vendor/twig/twig/src/Environment.php:277 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /home/www/www/acnh/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/www/www/acnh/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/www/www/acnh/src/Controller/ItemsController.php:76 {
      App\Controller\ItemsController->itemsIndex(Request $request, $type, $currentPage = 1) …
      › 'rutaimg'   => $name[2],'type'      => $type}
    /home/www/www/acnh/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/www/www/acnh/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/www/www/acnh/vendor/symfony/http-kernel/Kernel.php:191 {
      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/www/www/acnh/public/index.php:25 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
    }
  }
}
logger
null