UserController :: removeFavorite
Request
GET Parameters
| Key | Value |
|---|---|
| url | "API/removeFavorite/7395" |
POST Parameters
| Key | Value |
|---|---|
| id | "7395" |
Uploaded Files
No files were uploaded
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Controller\UserController::removeFavorite" |
| _firewall_context | "security.firewall.map.context.main" |
| _redirected | true |
| _route | "removeFavorite" |
| _route_params | [ "id" => "7395" ] |
| id | "7395" |
| product | App\Entity\Product {#1114 #em: Doctrine\ORM\EntityManager {#322 …} #userServ: App\Service\UserService {#148 …} -urlName: null -id: 7395 -origName: "Biscuits à l'avoine et pépites de chocolat - 600g" -origBrandName: "12x50g" -qtyLeft: 0 -unitAmount: 50.0 -unit: 2 -available: true -origDescription: "<p>Biscuits à l'avoine et pépites de chocolat</p>" -categories: Proxies\__CG__\App\Entity\Category {#1176 …} -conservation: Proxies\__CG__\App\Entity\Conservation {#1155 …} -Origin: "Québec/Canada" -bestBefore: null -creationDate: DateTime @1611637200 {#1112 : 2021-01-26 00:00:00.0 America/New_York (-05:00) } -nutritionFact: null -newProduct: true -images: Doctrine\ORM\PersistentCollection {#1156 …} -mainImage: Proxies\__CG__\App\Entity\Image {#1177 …} -tags: Doctrine\ORM\PersistentCollection {#1134 …} -ingredients: Doctrine\ORM\PersistentCollection {#1148 …} -storages: Doctrine\ORM\PersistentCollection {#1189 …} -pricings: Doctrine\ORM\PersistentCollection {#1207 …} -certifications: Doctrine\ORM\PersistentCollection {#1220 …} -company: Proxies\__CG__\App\Entity\Company {#1381 …} -taxable: false -maturinUpc: "055843411810" -codeUPC: "620503170019" -code1: null -code2: null -code3: null -codeBox: "10620503170016" -alimentsDuQuebec: false -deliveryLocations: Doctrine\ORM\PersistentCollection {#1369 …} -minimumInStorage: 1 -deliveryMethods: Doctrine\ORM\PersistentCollection {#1346 …} -limitedQuantity: false -alimentsDuQuebecCertification: null -DeliveryType: 0 -DeliveryPickup: false -draft: false -deliveryMail: true -locations: Doctrine\ORM\PersistentCollection {#1320 …} -region: Proxies\__CG__\App\Entity\Region {#1291 …} -advices: "<p>Se conserve 60 jours à température pièce.</p><p>Astuce: Garder les biscuits au congélateur et en mettre un dans la boite à lunch directement! En plus de pouvoir conserver les biscuits sur une longe période dans le congélateur, il garde la boite à lunch fraiche.</p>" -recipes: null -userViewed: Doctrine\ORM\PersistentCollection {#1302 …} -inCarts: Doctrine\ORM\PersistentCollection {#1245 …} -solexId: "37327" -replenishmentItems: Doctrine\ORM\PersistentCollection {#1262 …} -favorites: Doctrine\ORM\PersistentCollection {#1274 …} -listOfIngredients: "<p><strong>Ingrédients</strong> : Sucres (sucre, cassonade, sucre inverti), Flocons d'avoine, Farine de blé, Margarine non-hydrogénée (huile de canola, huile de palme et de palmiste modifiées (lait, soya)), Eau, Pépites saveur chocolat (sucre, huile de palmiste hydrogénée, poudre de cacao, lécithine de soya), Huile de canola, Amidon de maïs modifié, Lécithine de soya, Sel, Bicarbonate de sodium, Arôme naturel et artificiel, Propionate de calcium, Gomme de xanthane, Gomme de guar. <strong>Contient: </strong>Lait, Soya, Blé, Avoine. <strong>Peut contenir: </strong>Oeufs, Sulfites, Moutarde.</p><p><strong>Ingredients</strong> :Sugars (sugar, brown sugar, invert sugar), Rolled oats, Wheat flour, Non-hydrogenated margarine (canola oil, modified palm and modified palm kernel oils (milk, soy)), Water, Chocolate flavoured chips (sugar, hydrogenated palm kernel oil, cocoa powder, soy lecithin), Canola oil, Modified corn starch, Soy lecithin, Salt, Sodium bicarbonate, Natural and artificial flavor, Calcium propionate, Xanthan gum, Guar gum. <strong>Contains: </strong>Milk, Soy, Wheat, Oat.<strong> May contain: </strong>Eggs, Sulphites, Mustard.</p>" -qtyReadyToShip: 50 -expirationDate: null -isConsigned: false -consignedCost: 0.0 -nutritionFactImage: null -isFragile: false -qtyPerUnit: 12 -validatedByDistributor: false -deliveryNote: null -isJustInTime: true -reminderLowQuantitySent: false -hasMultipleProducts: false -hasFreeMaturinShipping: false -deal: null -productsInBundle: Doctrine\ORM\PersistentCollection {#1276 …} -badges: Doctrine\ORM\PersistentCollection {#1398 …} -diets: Doctrine\ORM\PersistentCollection {#1411 …} -discountPricings: Doctrine\ORM\PersistentCollection {#1413 …} -subCategory: Proxies\__CG__\App\Entity\Category {#1415 …} -complementedByGroups: Doctrine\ORM\PersistentCollection {#1428 …} -complementaryGroups: Doctrine\ORM\PersistentCollection {#1430 …} -actionWhenExpired: 0 -isSubscribable: false -subscriptions: Doctrine\ORM\PersistentCollection {#1450 …} -isBoxOfProducts: false -productsInBox: Doctrine\ORM\PersistentCollection {#1464 …} -isOnlySubscribable: false -justInTimeDeliveryDate: null -freeMaturinShippingIfLowerThen: null -isOnlySubscribableToType: null -targetOfReplacementScripts: Doctrine\ORM\PersistentCollection {#1478 …} -quantityWarehouse: 0 -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 } |
Request Headers
| Header | Value |
|---|---|
| accept | "application/json, text/javascript, */*; q=0.01" |
| accept-encoding | "gzip,deflate,br" |
| connection | "Keep-alive" |
| content-length | "7" |
| content-type | "application/x-www-form-urlencoded" |
| cookie | "PHPSESSID=28lbk1lv3hb4f8jcm0gpjh2l5m; sf_redirect=%7B%22token%22%3A%227145bd%22%2C%22route%22%3A%22viewProduct%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CProductController%22%2C%22method%22%3A%22viewProduct%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fhtml%5C%2FMarkego%5C%2Fsrc%5C%2FController%5C%2FProductController.php%22%2C%22line%22%3A612%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
| host | "staging.maturin.ca" |
| referer | "https://staging.maturin.ca/" |
| user-agent | "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36" |
| x-php-ob-level | "1" |
| x-requested-with | "XMLHttpRequest" |
Request Content
Raw
id=7395
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "no-cache, private" |
| content-type | "application/json" |
| date | "Wed, 08 Apr 2026 04:23:23 GMT" |
| x-debug-token | "13eb9a" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "28lbk1lv3hb4f8jcm0gpjh2l5m" |
| sf_redirect | "{"token":"7145bd","route":"viewProduct","method":"GET","controller":{"class":"App\\Controller\\ProductController","method":"viewProduct","file":"\/var\/www\/html\/Markego\/src\/Controller\/ProductController.php","line":612},"status_code":302,"status_text":"Found"}" |
Response Cookies
No response cookies
Session
Session Metadata
| Key | Value |
|---|---|
| Created | "Tue, 07 Apr 26 15:41:57 -0400" |
| Last used | "Wed, 08 Apr 26 00:23:23 -0400" |
| Lifetime | "31536000" |
Session Attributes
| Attribute | Value |
|---|---|
| _csrf/https-authenticate | "ifB2-DmsQqaVZuB40-JktXxPZ5GM-BhjKSgmrqlFYls" |
| _csrf/https-cart | "Hmxnj-4bMY5jm-Q66PlVZL7pJJGdnBoJZhCdJndifXA" |
| _csrf/https-form | "atFSyGEQ7FZXwOLmSGyBzu1syG_OmovqOL1pySLD44c" |
| _csrf/https-registration | "AdSJ8EaThNJfXIUvGr2CBFpH0w5hF1LT-7EwKQHj7c4" |
| _hwi_oauth.facebook.224654284787874.csrf_state.01ba857cbe465bb9aec5dec4aa460b14 | "01ba857cbe465bb9aec5dec4aa460b14" |
| _hwi_oauth.facebook.224654284787874.csrf_state.032a63dcdd36379c7a7ea61f3050d591 | "032a63dcdd36379c7a7ea61f3050d591" |
| _hwi_oauth.facebook.224654284787874.csrf_state.160173e47418a36aa0b08d81d6ea1116 | "160173e47418a36aa0b08d81d6ea1116" |
| _hwi_oauth.facebook.224654284787874.csrf_state.168405bc03755b3ee0919f85937886bf | "168405bc03755b3ee0919f85937886bf" |
| _hwi_oauth.facebook.224654284787874.csrf_state.1fc223ca1444d052e59eaa8aabc4707a | "1fc223ca1444d052e59eaa8aabc4707a" |
| _hwi_oauth.facebook.224654284787874.csrf_state.3f346f0b7387c4f63a1e7a13a566072c | "3f346f0b7387c4f63a1e7a13a566072c" |
| _hwi_oauth.facebook.224654284787874.csrf_state.41399c959ea2ef0025aee8a3a5c77dab | "41399c959ea2ef0025aee8a3a5c77dab" |
| _hwi_oauth.facebook.224654284787874.csrf_state.46d1003462e11b7ba8e7f80b3680c4b6 | "46d1003462e11b7ba8e7f80b3680c4b6" |
| _hwi_oauth.facebook.224654284787874.csrf_state.93170854ad1b4775c6ac56a1cdb3aa75 | "93170854ad1b4775c6ac56a1cdb3aa75" |
| _hwi_oauth.facebook.224654284787874.csrf_state.cdafaf01b988769113329af6c918ac73 | "cdafaf01b988769113329af6c918ac73" |
| _hwi_oauth.facebook.224654284787874.csrf_state.f73455e9be8ba1486ea183e9abc86509 | "f73455e9be8ba1486ea183e9abc86509" |
| _hwi_oauth.google.654609154778-7oimf9er3kem3ki594858c268643a8bq.apps.googleusercontent.com.csrf_state.5e2f2e1f0b4765502369a615576b9632 | "5e2f2e1f0b4765502369a615576b9632" |
| _hwi_oauth.google.654609154778-7oimf9er3kem3ki594858c268643a8bq.apps.googleusercontent.com.csrf_state.71adfd6de06185d39d3333c60eef0097 | "71adfd6de06185d39d3333c60eef0097" |
| _hwi_oauth.google.654609154778-7oimf9er3kem3ki594858c268643a8bq.apps.googleusercontent.com.csrf_state.756b2de339cf899cc39b5762057c2f3d | "756b2de339cf899cc39b5762057c2f3d" |
| _hwi_oauth.google.654609154778-7oimf9er3kem3ki594858c268643a8bq.apps.googleusercontent.com.csrf_state.7faf9f461861eaf5c70987b6e0c952eb | "7faf9f461861eaf5c70987b6e0c952eb" |
| _hwi_oauth.linkedin.78cm1wovjnexc8.csrf_state.4461757136aa37d73cbb07e4b0dfdb77 | "4461757136aa37d73cbb07e4b0dfdb77" |
| _hwi_oauth.linkedin.78cm1wovjnexc8.csrf_state.7cc16cce27b16abfb30572408630a5ce | "7cc16cce27b16abfb30572408630a5ce" |
| _hwi_oauth.linkedin.78cm1wovjnexc8.csrf_state.a4e4bfc7317078fb4e132a301254a668 | "a4e4bfc7317078fb4e132a301254a668" |
| _hwi_oauth.linkedin.78cm1wovjnexc8.csrf_state.cfbe58e9253ab3b8a3390a59b95919f2 | "cfbe58e9253ab3b8a3390a59b95919f2" |
| _profiler_search_end | "1-1; waitfor delay '0:0:15' -- " |
| _profiler_search_ip | "45.153.34.143" |
| _profiler_search_limit | "1" |
| _profiler_search_method | "1" |
| _profiler_search_start | "1" |
| _profiler_search_status_code | "599-1) OR 647=(SELECT 647 FROM PG_SLEEP(15))--" |
| _profiler_search_token | "1JBnFRn6B'; waitfor delay '0:0:15' -- bgSsNSBD')) OR 788=(SELECT 788 FROM PG_SLEEP(15))--" |
| _profiler_search_url | "_profiler/53942a/search/results" |
| _security.last_error | Symfony\Component\Security\Core\Exception\BadCredentialsException {#241 -token: Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken {#242 …} #message: "Bad credentials." #code: 0 #file: "/var/www/html/Markego/vendor/symfony/security-core/Authentication/Provider/UserAuthenticationProvider.php" #line: 68 : { { session_start($options) … › |
| _security.last_username | "(select 198766*667891 from DUAL)" |
| _security.main.target_path | "https://staging.maturin.ca/vendeur/produits/liste/?url=vendeur%2Fproduits%2Fliste%2F" |
| cartId | 18217509 |
| favorites | Doctrine\Common\Collections\ArrayCollection {#236 -elements: [ 2710 6715 7425 ] } |
| showThisAssociationIdOnly-customBrowsing | 3 |
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 |
|---|---|
| CONTENT_LENGTH | "7" |
| CONTENT_TYPE | "application/x-www-form-urlencoded" |
| 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 | "application/json, text/javascript, */*; q=0.01" |
| HTTP_ACCEPT_ENCODING | "gzip,deflate,br" |
| HTTP_CONNECTION | "Keep-alive" |
| HTTP_COOKIE | "PHPSESSID=28lbk1lv3hb4f8jcm0gpjh2l5m; sf_redirect=%7B%22token%22%3A%227145bd%22%2C%22route%22%3A%22viewProduct%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CProductController%22%2C%22method%22%3A%22viewProduct%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fhtml%5C%2FMarkego%5C%2Fsrc%5C%2FController%5C%2FProductController.php%22%2C%22line%22%3A612%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
| HTTP_HOST | "staging.maturin.ca" |
| HTTP_REFERER | "https://staging.maturin.ca/" |
| HTTP_USER_AGENT | "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36" |
| HTTP_X_REQUESTED_WITH | "XMLHttpRequest" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "url=API/removeFavorite/7395" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_QUERY_STRING | "url=API/removeFavorite/7395" |
| REDIRECT_SSL_TLS_SNI | "staging.maturin.ca" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/API/removeFavorite/7395" |
| REMOTE_ADDR | "45.153.34.143" |
| REMOTE_PORT | "64756" |
| REQUEST_METHOD | "POST" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1775622203 |
| REQUEST_TIME_FLOAT | 1775622203.647 |
| REQUEST_URI | "/API/removeFavorite/7395" |
| 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" |