https://pre-app.triwuu.com/product/shopping-cart/%23?isIndividual=0&newCart=1

ProductController :: addProductToShoppingCart

Request

GET Parameters

Key Value
isIndividual
"0"
newCart
"1"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\ProductController::addProductToShoppingCart"
_firewall_context
"security.firewall.map.context.main"
_is_granted
[
  Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted {#639
    -attributes: "buy_product"
    -subject: "product"
    -message: null
    -statusCode: null
  }
]
_remove_csp_headers
true
_route
"app_product_add_to_shopping_cart"
_route_params
[
  "id" => "#"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"3ba54f"
id
"#"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, deflate"
connection
"close"
from
"gptbot(at)openai.com"
host
"pre-app.triwuu.com"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
x-accel-internal
"/internal-nginx-static-location"
x-openai-host-hash
"846080012"
x-php-ob-level
"1"
x-real-ip
"20.171.207.234"

Request Content

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

Response

Response Headers

Header Value
cache-control
"private, must-revalidate"
content-type
"text/html; charset=UTF-8"
date
"Fri, 04 Apr 2025 16:30:48 GMT"
expires
"-1"
pragma
"no-cache"
x-debug-exception
"An%20exception%20occurred%20while%20executing%20a%20query%3A%20SQLSTATE%5B22P02%5D%3A%20Invalid%20text%20representation%3A%207%20ERROR%3A%20%20invalid%20input%20syntax%20for%20type%20integer%3A%20%22%23%22%0ACONTEXT%3A%20%20unnamed%20portal%20parameter%20%241%20%3D%20%27...%27"
x-debug-exception-file
"%2Fvar%2Fwww%2Fvhosts%2Fpre-app.triwuu.com%2Fapp%2Fvendor%2Fdoctrine%2Fdbal%2Fsrc%2FDriver%2FAPI%2FPostgreSQL%2FExceptionConverter.php:87"
x-debug-token
"416ab0"
x-debug-token-link
"https://pre-app.triwuu.com/_profiler/079190"
x-previous-debug-token
"079190"
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

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"c935dccc1d7acd6e1a311d6f6da85ec4"
APP_TIMEZONE
"Europe/Madrid"
AWS_REGION
"eu-west-1"
AWS_S3_BUCKET
"triwuu.pre.web"
AWS_VERSION
"latest"
CLIENT_ID
"85abcd7d-494e-4917-bfe8-8d019f96d755"
CLIENT_SECRET
"mcC8Q~hUYYtBsgj9mIrcXAA1z1aeZg5fF.wSqbzk"
DATABASE_URL
"postgresql://triwuu:cC35xP2xS.snorLW@localhost:5432/preapp?serverVersion=14&charset=utf8"
DOMAIN_URL
"https://pre-app.triwuu.com/"
GOOGLE_RECAPTCHA_SECRET_KEY
"6LcUzZgqAAAAAMWueFrbiiUa9hCJLJ1eU60ITY6F"
GOOGLE_RECAPTCHA_SITE_KEY
"6LcUzZgqAAAAAMFUUhc57kcZn3ipd3pLwS6xBmdK"
HALITE_PATH
"/etc/pki/tls/private/halite/pro"
HOLDED_API_URL
"https://api.holded.com/api/invoicing/v1/"
LOG_PATH
"var/logs/pre-app.triwuu.com/"
MAILER_DSN
"smtp://triwuu.notifications@gmail.com:mwnasautjfxegrdy@smtp.gmail.com:465"
MAILER_EMAIL
"triwuu.notifications@gmail.com"
MAILER_PASSWORD
"mwnasautjfxegrdy"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
OAUTH_FACEBOOK_ID
"1140827673514308"
OAUTH_FACEBOOK_SECRET
"72ae793fdaf127de3b4419e090461d02"
OAUTH_GOOGLE_ID
"237646848623-i2rd8u62soeq78oijaj15rbivcopsh26.apps.googleusercontent.com"
OAUTH_GOOGLE_SECRET
"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"
SENTRY_DSN
"https://cdaa2a70128b4a119c6fdd5f03e08b8b@o1290808.ingest.sentry.io/4504157403217920"
SENTRY_ENVIRONMENT
"PRE"
TENANT_ID
"3beb213c-7896-4094-92be-fb523d297bcd"
USER_ID
"299fd339-d3d4-4152-9631-98337becc62f"
VICH_DESTINATION
"local"
VICH_PREFIX
""

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/pre-app.triwuu.com/app/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/pre-app.triwuu.com/app/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/pre-app.triwuu.com"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, deflate"
HTTP_CONNECTION
"close"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"pre-app.triwuu.com"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_OPENAI_HOST_HASH
"846080012"
HTTP_X_REAL_IP
"20.171.207.234"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"isIndividual=0&newCart=1"
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_QUERY_STRING
"isIndividual=0&newCart=1"
REDIRECT_SCRIPT_URI
"https://pre-app.triwuu.com/product/shopping-cart/#"
REDIRECT_SCRIPT_URL
"/product/shopping-cart/#"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Z_AJONNAwjzhdYr99AXSuQAAAAY"
REDIRECT_URL
"/product/shopping-cart/#"
REMOTE_ADDR
"20.171.207.234"
REMOTE_PORT
"55944"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1743784248
REQUEST_TIME_FLOAT
1743784248.0415
REQUEST_URI
"/product/shopping-cart/%23?isIndividual=0&newCart=1"
SCRIPT_FILENAME
"/var/www/vhosts/pre-app.triwuu.com/app/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://pre-app.triwuu.com/product/shopping-cart/#"
SCRIPT_URL
"/product/shopping-cart/#"
SERVER_ADDR
"145.239.229.142"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"pre-app.triwuu.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at pre-app.triwuu.com Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,DATABASE_URL,MAILER_EMAIL,MAILER_PASSWORD,MAILER_DSN,VICH_DESTINATION,VICH_PREFIX,AWS_S3_BUCKET,AWS_REGION,AWS_VERSION,CLIENT_ID,TENANT_ID,CLIENT_SECRET,USER_ID,OAUTH_GOOGLE_ID,OAUTH_GOOGLE_SECRET,OAUTH_FACEBOOK_ID,OAUTH_FACEBOOK_SECRET,SENTRY_DSN,SENTRY_ENVIRONMENT,HOLDED_API_URL,DOMAIN_URL,APP_TIMEZONE,HALITE_PATH,LOG_PATH,GOOGLE_RECAPTCHA_SECRET_KEY,GOOGLE_RECAPTCHA_SITE_KEY"
UNIQUE_ID
"Z_AJONNAwjzhdYr99AXSuQAAAAY"
USER
"pre-app.triwuu.com"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = 079190)

Key Value
_controller
"error_controller"
_stopwatch_token
"46bad2"
exception
Doctrine\DBAL\Exception\DriverException {#1353
  #message: """
    An exception occurred while executing a query: SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  invalid input syntax for type integer: "#"\n
    CONTEXT:  unnamed portal parameter $1 = '...'
    """
  #code: 7
  #file: "/var/www/vhosts/pre-app.triwuu.com/app/vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php"
  #line: 87
  -previous: Doctrine\DBAL\Driver\PDO\Exception {#1362 …}
  -query: Doctrine\DBAL\Query {#1367 …}
  trace: {
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php:87 {
      Doctrine\DBAL\Driver\API\PostgreSQL\ExceptionConverter->convert(Exception $exception, ?Query $query): DriverException …
      › 
      ›     return new DriverException($exception, $query);}
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/doctrine/dbal/src/Connection.php:1935 {
      Doctrine\DBAL\Connection->handleDriverException(Exception $driverException, ?Query $query): DriverException …
      › $this->exceptionConverter ??= $this->_driver->getExceptionConverter();$exception                  = $this->exceptionConverter->convert($driverException, $query);}
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/doctrine/dbal/src/Connection.php:1878 {
      Doctrine\DBAL\Connection->convertExceptionDuringQuery(Exception $e, string $sql, array $params = [], array $types = []): DriverException …
      › ): DriverException {    return $this->handleDriverException($e, new Query($sql, $params, $types));}
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/doctrine/dbal/src/Connection.php:1103 {
      Doctrine\DBAL\Connection->executeQuery(string $sql, array $params = [], $types = [], QueryCacheProfile $qcp = null): Result …
      › } catch (Driver\Exception $e) {    throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);} finally {
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:752 {
      Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array $criteria, $entity = null, $assoc = null, array $hints = [], $lockMode = null, $limit = null, array $orderBy = null) …
      › [$params, $types] = $this->expandParameters($criteria);$stmt             = $this->conn->executeQuery($sql, $params, $types);}
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:770 {
      Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(array $identifier, $entity = null) …
      › {    return $this->load($identifier, $entity);}
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:521 {
      Doctrine\ORM\EntityManager->find($className, $id, $lockMode = null, $lockVersion = null) …
      ›     default:        return $persister->loadById($sortedId);}
    }
    /var/www/vhosts/pre-app.triwuu.com/app/var/cache/dev/ContainerLQVJE04/EntityManager_9a5be93.php:143 {
      ContainerLQVJE04\EntityManager_9a5be93->find($className, $id, $lockMode = null, $lockVersion = null) …
      › 
      ›     return $this->valueHolder7c50a->find($className, $id, $lockMode, $lockVersion);}
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:197 {
      Doctrine\ORM\EntityRepository->find($id, $lockMode = null, $lockVersion = null) …
      › {    return $this->_em->find($this->_entityName, $id, $lockMode, $lockVersion);}
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:142 {
      Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->find($class, Request $request, $options, $name) …
      › try {    return $om->getRepository($class)->$method($id);} catch (NoResultException $e) {
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:91 {
      Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->apply(Request $request, ParamConverter $configuration) …
      ›     // find by identifier?} elseif (false === $object = $this->find($class, $request, $options, $name)) {    // find by criteria
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:84 {
      Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->applyConverter(Request $request, ParamConverter $configuration) …
      › if ($converter->supports($configuration)) {    if ($converter->apply($request, $configuration)) {        return;
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:48 {
      Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->apply(Request $request, $configurations) …
      › foreach ($configurations as $configuration) {    $this->applyConverter($request, $configuration);}
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/sensio/framework-extra-bundle/src/EventListener/ParamConverterListener.php:72 {
      Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener->onKernelController(KernelEvent $event) …
      › 
      ›     $this->manager->apply($request, $configurations);}
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115 {
      Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
      › 
      › ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);}
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/symfony/event-dispatcher/EventDispatcher.php:230 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
      ›     }    $listener($event, $eventName, $this);}
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/symfony/event-dispatcher/EventDispatcher.php:59 {
      Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, string $eventName = null): object …
      › if ($listeners) {    $this->callListeners($listeners, $eventName, $event);}
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:153 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
      › try {    $this->dispatcher->dispatch($event, $eventName);} finally {
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/symfony/http-kernel/HttpKernel.php:151 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › $event = new ControllerEvent($this, $controller, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER);$controller = $event->getController();
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/vhosts/pre-app.triwuu.com/app/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/vhosts/pre-app.triwuu.com/app/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/vhosts/pre-app.triwuu.com/app/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#312 …9}