CartController :: addToCart
Request
GET Parameters
| Key | Value |
|---|---|
| url | "API/cart/add/6715/7gedtainfoc6.php" |
POST Parameters
No POST parameters
Uploaded Files
No files were uploaded
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Controller\CartController::addToCart" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "addToCart" |
| _route_params | [ "quantity" => "7gedtainfoc6.php" "subscribeType" => false "id" => "6715" ] |
| id | "6715" |
| product | App\Entity\Product {#1105 #em: Doctrine\ORM\EntityManager {#317 …} #userServ: App\Service\UserService {#827 …} -urlName: null -id: 6715 -origName: "Duo chanterelle en tube 2 x 18g" -origBrandName: "Amyco" -qtyLeft: 0 -unitAmount: 18.0 -unit: 2 -available: true -origDescription: "<p><strong>CHANTERELLE EN TUBE</strong></p><p>Cette chanterelle d’automne, une petite merveille à l’allure d’une fleur, pousse en petits bouquets dans nos forêts boréales. Délicate et parfumée, elle se réhydrate rapidement et donne alors l’apparence d’un champignon fraîchement récolté. </p><p>Goût de la chanterelle en tube : beurre, noix, et fruité.</p><p>Accompagne : fromages, volailles, poissons, pâtes, béchamel, omelettes, crème.</p>" -categories: Proxies\__CG__\App\Entity\Category {#1167 …} -conservation: Proxies\__CG__\App\Entity\Conservation {#1146 …} -Origin: "Québec/Canada" -bestBefore: null -creationDate: DateTime @1604898000 {#1102 : 2020-11-09 00:00:00.0 America/New_York (-05:00) } -nutritionFact: null -newProduct: true -images: Doctrine\ORM\PersistentCollection {#1147 …} -mainImage: Proxies\__CG__\App\Entity\Image {#1168 …} -tags: Doctrine\ORM\PersistentCollection {#1125 …} -ingredients: Doctrine\ORM\PersistentCollection {#1139 …} -storages: Doctrine\ORM\PersistentCollection {#1180 …} -pricings: Doctrine\ORM\PersistentCollection {#1198 …} -certifications: Doctrine\ORM\PersistentCollection {#1211 …} -company: Proxies\__CG__\App\Entity\Company {#1372 …} -taxable: false -maturinUpc: "055843410097" -codeUPC: null -code1: null -code2: null -code3: null -codeBox: null -alimentsDuQuebec: false -deliveryLocations: Doctrine\ORM\PersistentCollection {#1360 …} -minimumInStorage: 2 -deliveryMethods: Doctrine\ORM\PersistentCollection {#1337 …} -limitedQuantity: false -alimentsDuQuebecCertification: 0 -DeliveryType: 0 -DeliveryPickup: false -draft: false -deliveryMail: true -locations: Doctrine\ORM\PersistentCollection {#1311 …} -region: Proxies\__CG__\App\Entity\Region {#1282 …} -advices: null -recipes: null -userViewed: Doctrine\ORM\PersistentCollection {#1293 …} -inCarts: Doctrine\ORM\PersistentCollection {#1236 …} -solexId: "37000" -replenishmentItems: Doctrine\ORM\PersistentCollection {#1253 …} -favorites: Doctrine\ORM\PersistentCollection {#1265 …} -listOfIngredients: "<p>chanterelles déshydratées 20g</p>" -qtyReadyToShip: 1 -expirationDate: DateTime @1667275200 {#1103 : 2022-11-01 00:00:00.0 America/New_York (-04:00) } -isConsigned: false -consignedCost: 0.0 -nutritionFactImage: null -isFragile: false -qtyPerUnit: 2 -validatedByDistributor: true -deliveryNote: null -isJustInTime: false -reminderLowQuantitySent: true -hasMultipleProducts: false -hasFreeMaturinShipping: false -deal: null -productsInBundle: Doctrine\ORM\PersistentCollection {#1267 …} -badges: Doctrine\ORM\PersistentCollection {#1389 …} -diets: Doctrine\ORM\PersistentCollection {#1402 …} -discountPricings: Doctrine\ORM\PersistentCollection {#1404 …} -subCategory: Proxies\__CG__\App\Entity\Category {#1406 …} -complementedByGroups: Doctrine\ORM\PersistentCollection {#1419 …} -complementaryGroups: Doctrine\ORM\PersistentCollection {#1421 …} -actionWhenExpired: 0 -isSubscribable: null -subscriptions: Doctrine\ORM\PersistentCollection {#1441 …} -isBoxOfProducts: false -productsInBox: Doctrine\ORM\PersistentCollection {#1455 …} -isOnlySubscribable: null -justInTimeDeliveryDate: null -freeMaturinShippingIfLowerThen: null -isOnlySubscribableToType: null -targetOfReplacementScripts: Doctrine\ORM\PersistentCollection {#1469 …} -quantityWarehouse: 1 -quantityWarehouseReserved: 0 -quantityOnHold: 0 -parentProductId: null -feeWarehousePackingPerUnit: null -feeWarehouseHandlingPerUnit: null -isDisplayedInAssociationOnly: false -isHri: false -puroExclusion: false -containsAlcohol: false -isConsumer: true -productColaborPrice: null -isPrixLaureat: false -cantUseCoupon: false -corporative: null -seasonality: null -seasonalityStart: null -seasonalityEnd: null -quantityMaxProd: null -productDelete: false -orderFrequency: 0 -portionForMeal: 0 } |
| quantity | "7gedtainfoc6.php" |
| subscribeType | false |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| host | "staging.maturin.ca" |
| user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| 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, 08 Apr 2026 23:41:40 GMT" |
| x-debug-token | "62b46c" |
| x-debug-token-link | "https://staging.maturin.ca/_profiler/b91c4c" |
| x-previous-debug-token | "b91c4c" |
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 |
|---|---|
| ADMIN_TO_SEND_ADDRESS | "maxime@maturin.ca" |
| APP_DEBUG | "1" |
| APP_ENV | "dev" |
| APP_SECRET | "ece17b137845c6af87737a7b429bf83e" |
| DATABASE_URL | "mysql://dev:adf98hj248r7hdasfSDF23r@127.0.0.1:3306/omelodev" |
| DEV_TO_MAIL_ADDRESS | "maxime@maturin.ca" |
| ELASTICSEARCH_HOST | "127.0.0.1" |
| ELASTICSEARCH_PORT | "9200" |
| ENABLE_TWIG_CACHE | "true" |
| MAILER_FROM | "reply-message@maturin.ca" |
| MAILER_URL | "smtp://mail.maturin.ca:587?encryption=&auth_mode=&username=maxime@maturin.ca&password=y3TE3dK7" |
| SOLEXIS_API_HOST | "https://maturin-dev.solutionextreme.com/api/" |
| SOLEXIS_NEW_API_HOST | "https://maturin-dev.solutionextreme.com/api/" |
| STRIPE_API_KEY | "sk_test_cLLpvDdtubdfD3HTPOK3uEoC" |
| STRIPE_API_PKEY | "pk_test_Hk3TQ3qfUi6YJ5ZTc2jdQB3X" |
Defined as regular env variables
| Key | Value |
|---|---|
| CONTEXT_DOCUMENT_ROOT | "/var/www/html/Markego/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/var/www/html/Markego/public" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTPS | "on" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate" |
| HTTP_HOST | "staging.maturin.ca" |
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "url=API/cart/add/6715/7gedtainfoc6.php&url=API%2Fcart%2Fadd%2F6715%2F7gedtainfoc6.php" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_QUERY_STRING | "url=API/cart/add/6715/7gedtainfoc6.php&url=API%2Fcart%2Fadd%2F6715%2F7gedtainfoc6.php" |
| REDIRECT_SSL_TLS_SNI | "staging.maturin.ca" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/API/cart/add/6715/7gedtainfoc6.php" |
| REMOTE_ADDR | "216.73.216.171" |
| REMOTE_PORT | "4618" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1775691700 |
| REQUEST_TIME_FLOAT | 1775691700.028 |
| REQUEST_URI | "/API/cart/add/6715/7gedtainfoc6.php?url=API%2Fcart%2Fadd%2F6715%2F7gedtainfoc6.php" |
| SCRIPT_FILENAME | "/var/www/html/Markego/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "51.79.50.9" |
| SERVER_ADMIN | "webmaster@localhost" |
| SERVER_NAME | "staging.maturin.ca" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.41 (Ubuntu) Server at staging.maturin.ca Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.41 (Ubuntu)" |
| SSL_TLS_SNI | "staging.maturin.ca" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_DEBUG,APP_SECRET,DATABASE_URL,MAILER_URL,MAILER_FROM,DEV_TO_MAIL_ADDRESS,ADMIN_TO_SEND_ADDRESS,ELASTICSEARCH_HOST,ELASTICSEARCH_PORT,STRIPE_API_KEY,STRIPE_API_PKEY,SOLEXIS_API_HOST,SOLEXIS_NEW_API_HOST,ENABLE_TWIG_CACHE" |
Sub Requests 1
ExceptionController :: showAction (token = b91c4c)
| Key | Value |
|---|---|
| _controller | "twig.controller.exception::showAction" |
| exception | Symfony\Component\ErrorHandler\Exception\FlattenException {#2671 -message: "Notice: A non well formed numeric value encountered" -code: 0 -previous: null -trace: [ [ "namespace" => "" "short_class" => "" "class" => "" "type" => "" "function" => "" "file" => "/var/www/html/Markego/src/Entity/CartProduct.php" "line" => 187 "args" => [] ] [ "namespace" => "App\Entity" "short_class" => "CartProduct" "class" => "App\Entity\CartProduct" "type" => "->" "function" => "setQuantity" "file" => "/var/www/html/Markego/src/Controller/CartController.php" "line" => 2782 "args" => [] ] [ "namespace" => "App\Controller" "short_class" => "CartController" "class" => "App\Controller\CartController" "type" => "->" "function" => "addToCart" "file" => "/var/www/html/Markego/vendor/symfony/http-kernel/HttpKernel.php" "line" => 146 "args" => [] ] [ "namespace" => "Symfony\Component\HttpKernel" "short_class" => "HttpKernel" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" "function" => "handleRaw" "file" => "/var/www/html/Markego/vendor/symfony/http-kernel/HttpKernel.php" "line" => 68 "args" => [] ] [ "namespace" => "Symfony\Component\HttpKernel" "short_class" => "HttpKernel" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" "function" => "handle" "file" => "/var/www/html/Markego/vendor/symfony/http-kernel/Kernel.php" "line" => 201 "args" => [] ] [ "namespace" => "Symfony\Component\HttpKernel" "short_class" => "Kernel" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" "function" => "handle" "file" => "/var/www/html/Markego/public/index.php" "line" => 35 "args" => [] ] ] -traceAsString: """ #0 /var/www/html/Markego/src/Controller/CartController.php(2782): App\Entity\CartProduct->setQuantity()\n #1 /var/www/html/Markego/vendor/symfony/http-kernel/HttpKernel.php(146): App\Controller\CartController->addToCart()\n #2 /var/www/html/Markego/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw()\n #3 /var/www/html/Markego/vendor/symfony/http-kernel/Kernel.php(201): Symfony\Component\HttpKernel\HttpKernel->handle()\n #4 /var/www/html/Markego/public/index.php(35): Symfony\Component\HttpKernel\Kernel->handle()\n #5 {main} """ -class: "ErrorException" -statusCode: 500 -statusText: "Internal Server Error" -headers: [] -file: "/var/www/html/Markego/src/Entity/CartProduct.php" -line: 187 -asString: null -message: null -code: null -previous: null -trace: null -traceAsString: null -class: null -statusCode: null -headers: null -file: null -line: null } |
| logger | Symfony\Bridge\Monolog\Logger {#423 #name: "request" #handlers: [ Monolog\Handler\StreamHandler {#420 #stream: stream resource @85 : false : true : false : "plainfile" : "STDIO" : "a" : 0 : true : "/var/www/html/Markego/var/log/dev.log" : [] } #url: "/var/www/html/Markego/var/log/dev.log" -errorMessage: null #filePermission: null #useLocking: false -dirCreated: true #level: 400 #bubble: true #processors: [ Monolog\Processor\PsrLogMessageProcessor {#419 -dateFormat: null -removeUsedContextFields: false } ] #formatter: Monolog\Formatter\LineFormatter {#2667 …} } Symfony\Bridge\Monolog\Handler\ConsoleHandler {#421 -output: null -verbosityLevelMap: [ 16 => 400 32 => 300 64 => 250 128 => 200 256 => 100 ] -consoleFormaterOptions: [] #level: 100 #bubble: true #processors: [] #formatter: null } ] #processors: [ Symfony\Bridge\Monolog\Processor\DebugProcessor {#517 -records: [ "00000000279d2ff3000000007507a951" => [ [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "debug.security.authorization.vote" "listener" => "Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Http\HttplugBundle\Discovery\ConfiguredClientsStrategy::onEvent" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Http\HttplugBundle\Collector\PluginClientFactoryListener::onEvent" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::resolveControllerName" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller" "listener" => "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller" "listener" => "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller" "listener" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller" "listener" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller" "listener" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller" "listener" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1775691700 "message" => "Uncaught PHP Exception ErrorException: "Notice: A non well formed numeric value encountered" at /var/www/html/Markego/src/Entity/CartProduct.php line 187" "priority" => 500 "priorityName" => "CRITICAL" "context" => [ "exception" => ErrorException {#2576 #message: "Notice: A non well formed numeric value encountered" #code: 0 #file: "/var/www/html/Markego/src/Entity/CartProduct.php" #line: 187 #severity: E_NOTICE : { { App\Entity\CartProduct->setQuantity(int $quantity): self … › › |