^ array:18 [
  0 => array:1 [
    "weigh" => ""
  ]
  1 => array:1 [
    "weigh" => "50"
  ]
  2 => array:1 [
    "weigh" => "110"
  ]
  3 => array:1 [
    "weigh" => "130"
  ]
  4 => array:1 [
    "weigh" => "45"
  ]
  5 => array:1 [
    "weigh" => "100"
  ]
  6 => array:1 [
    "weigh" => "200"
  ]
  7 => array:1 [
    "weigh" => "167"
  ]
  8 => array:1 [
    "weigh" => "92"
  ]
  9 => array:1 [
    "weigh" => "280"
  ]
  10 => array:1 [
    "weigh" => "490"
  ]
  11 => array:1 [
    "weigh" => "560"
  ]
  12 => array:1 [
    "weigh" => "150"
  ]
  13 => array:1 [
    "weigh" => "65"
  ]
  14 => array:1 [
    "weigh" => "140"
  ]
  15 => array:1 [
    "weigh" => "90"
  ]
  16 => array:1 [
    "weigh" => "25"
  ]
  17 => array:1 [
    "weigh" => "33"
  ]
]
^ array:4 [
  "page_title" => "Categorie : Épicerie fine"
  "products" => Knp\Bundle\PaginatorBundle\Pagination\SlidingPagination {#1576
    -route: "_products_by_weigh"
    -params: array:3 [
      "category_id" => "8"
      "category_slug" => "epicerie-fine"
      "weigh" => "200"
    ]
    -pageRange: 5
    -template: "@BDMNicolasFrontend/Partials/pagniation_products.html.twig"
    -sortableTemplate: "@BDMNicolasFrontend/Partials/sortable.html.twig"
    -filtrationTemplate: "@KnpPaginator/Pagination/filtration.html.twig"
    #currentPageNumber: 1
    #numItemsPerPage: 9
    #items: array:6 [
      0 => BDM\Nicolas\BackendBundle\Entity\Product {#1765
        -id: 1112
        -label: "Petits boudins au foie gras de canard"
        -careLevel: null
        -ref: "REF1638"
        -seen: 631
        -serviceTemperature: null
        -regularPrice: 131.0
        -strikePrice: 131.0
        -loyalityPrice: 131.0
        -volume: null
        -corps: null
        -fraicheur: null
        -evolution: null
        -style: null
        -characteristics1: null
        -characteristicsDetails: null
        -characteristics2: null
        -state: 1
        -appelation: null
        -cepage: null
        -description: "Délicieux boudins cuisinés avec du foie gras de canard du Sud-Ouest.  Idéal en salade  ou se à déguster à l’apéritif, seuls ou présentés en mini-brochettes avec des légumes."
        #slug: "petits-boudins-au-foie-gras-de-canard"
        #weigh: "200"
        #vintage: null
        -isNew: 0
        #brand: null
        #region: null
        #country: null
        #sub_category: Proxies\__CG__\BDM\Nicolas\BackendBundle\Entity\ProductSubCategory {#1559
          +__isInitialized__: false
          -id: 38
          -label: null
          -code: null
          -slug: null
          -isActive: null
          #category: null
          #products: null
           …2
        }
        #color: null
        #taste: null
        #images: Doctrine\ORM\PersistentCollection {#1812
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1765}
          -association: array:15 [ …15]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "product"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1761 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1813
            -elements: []
          }
          #initialized: false
        }
        #alliances: Doctrine\ORM\PersistentCollection {#1828
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1765}
          -association: array:20 [ …20]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1544 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1827
            -elements: []
          }
          #initialized: false
        }
        #articles: Doctrine\ORM\PersistentCollection {#1840
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1765}
          -association: array:20 [ …20]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1825 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1839
            -elements: []
          }
          #initialized: false
        }
        #orderProduct: Doctrine\ORM\PersistentCollection {#1849
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1765}
          -association: array:15 [ …15]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1837 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1848
            -elements: []
          }
          #initialized: false
        }
      }
      1 => BDM\Nicolas\BackendBundle\Entity\Product {#1847
        -id: 1113
        -label: "Petites saucisses au magret canard et poivre vert  "
        -careLevel: null
        -ref: "REF1639"
        -seen: 509
        -serviceTemperature: null
        -regularPrice: 131.0
        -strikePrice: 131.0
        -loyalityPrice: 131.0
        -volume: null
        -corps: null
        -fraicheur: null
        -evolution: null
        -style: null
        -characteristics1: ""
        -characteristicsDetails: ""
        -characteristics2: ""
        -state: 1
        -appelation: ""
        -cepage: null
        -description: "Ces succulentes saucisses de magret de canard fermier sont relevées par le mariage du goût musqué du canard et des saveurs exotiques du poivre vert. Elles peuvent accompagner une salade gourmande ou à servir pendant l'apéro.<br /><br /><br /><br />\r\n"
        #slug: "petites-saucisses-au-magret-canard-et-poivre-vert"
        #weigh: "200"
        #vintage: ""
        -isNew: 0
        #brand: null
        #region: null
        #country: null
        #sub_category: Proxies\__CG__\BDM\Nicolas\BackendBundle\Entity\ProductSubCategory {#1559 …2}
        #color: null
        #taste: null
        #images: Doctrine\ORM\PersistentCollection {#1846
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1847}
          -association: array:15 [ …15]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "product"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1761 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1854
            -elements: []
          }
          #initialized: false
        }
        #alliances: Doctrine\ORM\PersistentCollection {#1855
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1847}
          -association: array:20 [ …20]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1544 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1856
            -elements: []
          }
          #initialized: false
        }
        #articles: Doctrine\ORM\PersistentCollection {#1857
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1847}
          -association: array:20 [ …20]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1825 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1858
            -elements: []
          }
          #initialized: false
        }
        #orderProduct: Doctrine\ORM\PersistentCollection {#1859
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1847}
          -association: array:15 [ …15]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1837 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1860
            -elements: []
          }
          #initialized: false
        }
      }
      2 => BDM\Nicolas\BackendBundle\Entity\Product {#1861
        -id: 1114
        -label: "Petites saucisses au piment d'Espelette"
        -careLevel: null
        -ref: "REF1640"
        -seen: 751
        -serviceTemperature: null
        -regularPrice: 131.0
        -strikePrice: 131.0
        -loyalityPrice: 131.0
        -volume: null
        -corps: null
        -fraicheur: null
        -evolution: null
        -style: null
        -characteristics1: null
        -characteristicsDetails: null
        -characteristics2: null
        -state: 1
        -appelation: null
        -cepage: null
        -description: "Ces délicieuses saucisses de porc sont tendrement parfumées au piment d’Espelette, Le piment d'Espelette n'est pas plus fort que le poivre ; sans agressivité, son très léger piquant est juste chaud."
        #slug: "petites-saucisses-au-piment-d-espelette"
        #weigh: "200"
        #vintage: null
        -isNew: 0
        #brand: null
        #region: null
        #country: null
        #sub_category: Proxies\__CG__\BDM\Nicolas\BackendBundle\Entity\ProductSubCategory {#1559 …2}
        #color: null
        #taste: null
        #images: Doctrine\ORM\PersistentCollection {#1862
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1861}
          -association: array:15 [ …15]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "product"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1761 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1863
            -elements: []
          }
          #initialized: false
        }
        #alliances: Doctrine\ORM\PersistentCollection {#1864
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1861}
          -association: array:20 [ …20]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1544 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1865
            -elements: []
          }
          #initialized: false
        }
        #articles: Doctrine\ORM\PersistentCollection {#1866
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1861}
          -association: array:20 [ …20]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1825 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1867
            -elements: []
          }
          #initialized: false
        }
        #orderProduct: Doctrine\ORM\PersistentCollection {#1868
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1861}
          -association: array:15 [ …15]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1837 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1869
            -elements: []
          }
          #initialized: false
        }
      }
      3 => BDM\Nicolas\BackendBundle\Entity\Product {#1870
        -id: 1120
        -label: "Tourbillon de crèmes de foie gras (4 x 50g)"
        -careLevel: null
        -ref: "REF1636"
        -seen: 564
        -serviceTemperature: null
        -regularPrice: 209.0
        -strikePrice: 209.0
        -loyalityPrice: 209.0
        -volume: null
        -corps: null
        -fraicheur: null
        -evolution: null
        -style: null
        -characteristics1: null
        -characteristicsDetails: null
        -characteristics2: null
        -state: 1
        -appelation: null
        -cepage: null
        -description: "Faite à base de foie gras, ces recettes raviront vos papilles et celles de vos invités."
        #slug: "tourbillon-de-cremes-de-foie-gras-4-x-50g"
        #weigh: "200"
        #vintage: null
        -isNew: 0
        #brand: null
        #region: null
        #country: null
        #sub_category: Proxies\__CG__\BDM\Nicolas\BackendBundle\Entity\ProductSubCategory {#1871
          +__isInitialized__: false
          -id: 39
          -label: null
          -code: null
          -slug: null
          -isActive: null
          #category: null
          #products: null
           …2
        }
        #color: null
        #taste: null
        #images: Doctrine\ORM\PersistentCollection {#1872
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1870}
          -association: array:15 [ …15]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "product"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1761 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1873
            -elements: []
          }
          #initialized: false
        }
        #alliances: Doctrine\ORM\PersistentCollection {#1874
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1870}
          -association: array:20 [ …20]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1544 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1875
            -elements: []
          }
          #initialized: false
        }
        #articles: Doctrine\ORM\PersistentCollection {#1876
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1870}
          -association: array:20 [ …20]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1825 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1877
            -elements: []
          }
          #initialized: false
        }
        #orderProduct: Doctrine\ORM\PersistentCollection {#1878
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1870}
          -association: array:15 [ …15]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1837 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1879
            -elements: []
          }
          #initialized: false
        }
      }
      4 => BDM\Nicolas\BackendBundle\Entity\Product {#1880
        -id: 1129
        -label: "Ribambelle de la mer (4 x 50g)"
        -careLevel: null
        -ref: "REF1635"
        -seen: 810
        -serviceTemperature: null
        -regularPrice: 198.0
        -strikePrice: 198.0
        -loyalityPrice: 198.0
        -volume: null
        -corps: null
        -fraicheur: null
        -evolution: null
        -style: null
        -characteristics1: ""
        -characteristicsDetails: ""
        -characteristics2: ""
        -state: 1
        -appelation: ""
        -cepage: null
        -description: """
          Epatez vos invités avec nos quatres spécialités inspirées du grand large, à savourer au moment de l'apéritif.<br /><br /><br />\r\n
          <br /><br /><br />\r\n
          La crème de thon Listao à la tomate confite<br /><br /><br />\r\n
          Retrouvez le meilleur des saveurs méditerranéennes avec cette crème fondante et légèrement épicée, composée de chair de thon à l'huile, de filet d'anchois et de tomates séchées. Elle est relevée de moutarde de Dijon, d'huile d'olive et d'une pointe de vinaigre de Xérès. <br /><br /><br />\r\n
          <br /><br /><br />\r\n
          Le fondant de coquilles Saint-Jacques au fenouil et aux olives<br /><br /><br />\r\n
          Une mousse de coquilles Saint-Jacques fondante et sublimée par les saveurs anisées du fenouil et celles, légèrement amères, des olives. <br /><br /><br />\r\n
          <br /><br /><br />\r\n
          La crème tartinière aux deux saumons et à la vodka<br /><br /><br />\r\n
          Un méli-mélo réalisé à partir de saumon frais, de saumon fumé et de foie gras de canard fermier du Sud-Ouest. Vodka, estragon et une pointe de muscade et de poivre blanc viennent parfumer cette crème onctueuse.<br /><br /><br />\r\n
          <br /><br /><br />\r\n
          La brandade de haddock au gingembre et au citron<br /><br /><br />\r\n
          Les filets de haddock sont effilochés puis incorporés dans une purée de pommes de terre montée à l'huile d'olive et parfumée de zestes de citron, de gingembre et d'une fondue d'oignons crémée.<br /><br /><br />\r\n
          """
        #slug: "ribambelle-de-la-mer-4-x-50g"
        #weigh: "200"
        #vintage: ""
        -isNew: 0
        #brand: null
        #region: null
        #country: null
        #sub_category: Proxies\__CG__\BDM\Nicolas\BackendBundle\Entity\ProductSubCategory {#1881
          +__isInitialized__: false
          -id: 41
          -label: null
          -code: null
          -slug: null
          -isActive: null
          #category: null
          #products: null
           …2
        }
        #color: null
        #taste: null
        #images: Doctrine\ORM\PersistentCollection {#1882
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1880}
          -association: array:15 [ …15]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "product"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1761 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1883
            -elements: []
          }
          #initialized: false
        }
        #alliances: Doctrine\ORM\PersistentCollection {#1884
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1880}
          -association: array:20 [ …20]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1544 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1885
            -elements: []
          }
          #initialized: false
        }
        #articles: Doctrine\ORM\PersistentCollection {#1886
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1880}
          -association: array:20 [ …20]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1825 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1887
            -elements: []
          }
          #initialized: false
        }
        #orderProduct: Doctrine\ORM\PersistentCollection {#1888
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1880}
          -association: array:15 [ …15]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1837 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1889
            -elements: []
          }
          #initialized: false
        }
      }
      5 => BDM\Nicolas\BackendBundle\Entity\Product {#1890
        -id: 1130
        -label: "Farandole de rillettes (4 x 50g)"
        -careLevel: null
        -ref: "REF1782"
        -seen: 627
        -serviceTemperature: null
        -regularPrice: 180.0
        -strikePrice: 180.0
        -loyalityPrice: 180.0
        -volume: null
        -corps: null
        -fraicheur: null
        -evolution: null
        -style: null
        -characteristics1: null
        -characteristicsDetails: null
        -characteristics2: null
        -state: 1
        -appelation: null
        -cepage: null
        -description: "Quatre recettes de rillettes créées par nos Chefs en hommage au terroir : canard à l'ancienne, oie à l'ancienne, lapin au Muscadet et porc du Sud-Ouest. Un coffret qui renferme le meilleur des rillettes Comtesse du Barry."
        #slug: "farandole-de-rillettes-4-x-50g"
        #weigh: "200"
        #vintage: null
        -isNew: 0
        #brand: null
        #region: null
        #country: null
        #sub_category: Proxies\__CG__\BDM\Nicolas\BackendBundle\Entity\ProductSubCategory {#1881 …2}
        #color: null
        #taste: null
        #images: Doctrine\ORM\PersistentCollection {#1891
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1890}
          -association: array:15 [ …15]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "product"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1761 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1892
            -elements: []
          }
          #initialized: false
        }
        #alliances: Doctrine\ORM\PersistentCollection {#1893
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1890}
          -association: array:20 [ …20]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1544 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1894
            -elements: []
          }
          #initialized: false
        }
        #articles: Doctrine\ORM\PersistentCollection {#1895
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1890}
          -association: array:20 [ …20]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1825 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1896
            -elements: []
          }
          #initialized: false
        }
        #orderProduct: Doctrine\ORM\PersistentCollection {#1897
          -snapshot: []
          -owner: BDM\Nicolas\BackendBundle\Entity\Product {#1890}
          -association: array:15 [ …15]
          -em: Doctrine\ORM\EntityManager {#322 …11}
          -backRefFieldName: "products"
          -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1837 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#1898
            -elements: []
          }
          #initialized: false
        }
      }
    ]
    #totalCount: 6
    #paginatorOptions: array:6 [
      "pageParameterName" => "page"
      "sortFieldParameterName" => "sort"
      "sortDirectionParameterName" => "direction"
      "filterFieldParameterName" => "filterField"
      "filterValueParameterName" => "filterValue"
      "distinct" => true
    ]
    #customParameters: array:1 [
      "sorted" => true
    ]
  }
  "category" => BDM\Nicolas\BackendBundle\Entity\ProductCategory {#1697
    -id: 8
    -label: "Épicerie fine"
    -code: "comtesse-du-barry"
    -description: "comtesse-du-barry"
    -slug: "epicerie-fine"
    -isActive: 0
    #subcategories: Doctrine\ORM\PersistentCollection {#1668
      -snapshot: []
      -owner: BDM\Nicolas\BackendBundle\Entity\ProductCategory {#1697}
      -association: array:15 [ …15]
      -em: Doctrine\ORM\EntityManager {#322 …11}
      -backRefFieldName: "category"
      -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1673 …}
      -isDirty: false
      #collection: Doctrine\Common\Collections\ArrayCollection {#1616
        -elements: []
      }
      #initialized: false
    }
    #banners: Doctrine\ORM\PersistentCollection {#1626
      -snapshot: []
      -owner: BDM\Nicolas\BackendBundle\Entity\ProductCategory {#1697}
      -association: array:15 [ …15]
      -em: Doctrine\ORM\EntityManager {#322 …11}
      -backRefFieldName: "category"
      -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1619 …}
      -isDirty: false
      #collection: Doctrine\Common\Collections\ArrayCollection {#1625
        -elements: []
      }
      #initialized: false
    }
  }
  "weighs" => array:18 [
    0 => ""
    1 => "50"
    2 => "110"
    3 => "130"
    4 => "45"
    5 => "100"
    6 => "200"
    7 => "167"
    8 => "92"
    9 => "280"
    10 => "490"
    11 => "560"
    12 => "150"
    13 => "65"
    14 => "140"
    15 => "90"
    16 => "25"
    17 => "33"
  ]
]
An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "/home/wwwnicolas/public_html/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 182."). (500 Internal Server Error)

Symfony Exception

An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "/home/wwwnicolas/public_html/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 182.").

Exceptions 6

Twig\Error\ RuntimeError

  1.                 <a  href="{{ path('_frontend_cart') }}">
  2.                     <span class="ns-QuickCart-IconContainer">
  3.                         <span id="cart-count" class="ns-QuickCart-itemLength js-QuickCart-itemLength">
  4.                         {% if app.session.get('number_items') is null %}
  5.                             0
  6.                         {% else %}
  7.                              {{ app.session.get('number_items') }} 
  8.                         {% endif %}
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.      */
  2.     public function render(array $context = []): string
  3.     {
  4.         // using func_get_args() allows to not expose the blocks argument
  5.         // as it should only be used by internal code
  6.         return $this->template->render($context, \func_get_args()[1] ?? []);
  7.     }
  8.     /**
  9.      * Displays the template.
  10.      *
  1.      * @throws SyntaxError  When an error occurred during compilation
  2.      * @throws RuntimeError When an error occurred during rendering
  3.      */
  4.     public function render($name, array $context = [])
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
  1.             [
  2.                 'status_code' => $code,
  3.                 'status_text' => Response::$statusTexts[$code] ?? '',
  4.                 'exception' => $exception,
  5.                 'logger' => $logger,
  6.                 'currentContent' => $currentContent,
  7.             ]
  8.         ), 200, ['Content-Type' => $request->getMimeType($request->getRequestFormat()) ?: 'text/html']);
  9.     }
  10.     /**
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $exception $event->getException();
  2.         $request $this->duplicateRequest($exception$event->getRequest());
  3.         $eventDispatcher = \func_num_args() > func_get_arg(2) : null;
  4.         try {
  5.             $response $event->getKernel()->handle($requestHttpKernelInterface::SUB_REQUESTfalse);
  6.         } catch (\Exception $e) {
  7.             $f FlattenException::createFromThrowable($e);
  8.             $this->logException($esprintf('Exception thrown when handling an exception (%s: %s at %s line %s)'$f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
  1.         $this->called true;
  2.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
  1.     {
  2.         foreach ($listeners as $listener) {
  3.             if ($event->isPropagationStopped()) {
  4.                 break;
  5.             }
  6.             $listener($event$eventName$this);
  7.         }
  8.     }
  9.     /**
  10.      * Sorts the internal list of listeners for the given event by priority.
  1.      * @param object     $event     The event object to pass to the event handlers/listeners
  2.      */
  3.     protected function callListeners(iterable $listenersstring $eventName$event)
  4.     {
  5.         if ($event instanceof Event) {
  6.             $this->doDispatch($listeners$eventName$event);
  7.             return;
  8.         }
  9.         $stoppable $event instanceof ContractsEvent || $event instanceof StoppableEventInterface;
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.      * @throws \Exception
  2.      */
  3.     private function handleThrowable(\Throwable $eRequest $requestint $type): Response
  4.     {
  5.         $event = new ExceptionEvent($this$request$type$e);
  6.         $this->dispatcher->dispatch($eventKernelEvents::EXCEPTION);
  7.         // a listener might have replaced the exception
  8.         $e $event->getThrowable();
  9.         if (!$event->hasResponse()) {
  1.     {
  2.         if (!$request $request ?: $this->requestStack->getMasterRequest()) {
  3.             throw $exception;
  4.         }
  5.         $response $this->handleThrowable($exception$requestself::MASTER_REQUEST);
  6.         $response->sendHeaders();
  7.         $response->sendContent();
  8.         $this->terminate($request$response);
  1.                         if ($hasRun) {
  2.                             throw $e;
  3.                         }
  4.                         $hasRun true;
  5.                         $kernel->terminateWithException($e$request);
  6.                     };
  7.                 }
  8.             } elseif ($event instanceof ConsoleEvent && $app $event->getCommand()->getApplication()) {
  9.                 $output $event->getOutput();
  10.                 if ($output instanceof ConsoleOutputInterface) {
in /home/wwwnicolas/public_html/vendor/symfony/error-handler/ErrorHandler.php :: Symfony\Component\HttpKernel\EventListener\{closure} (line 601)
  1.             $this->exceptionHandler null;
  2.         }
  3.         try {
  4.             if (null !== $exceptionHandler) {
  5.                 return $exceptionHandler($exception);
  6.             }
  7.             $handlerException $handlerException ?: $exception;
  8.         } catch (\Throwable $handlerException) {
  9.         }
  10.         if ($exception === $handlerException && null === $this->exceptionHandler) {
ErrorHandler->handleException(object(RuntimeError))

RuntimeException

Failed to start the session because headers have already been sent by "/home/wwwnicolas/public_html/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 182.

  1.         if (\PHP_SESSION_ACTIVE === session_status()) {
  2.             throw new \RuntimeException('Failed to start the session: already started by PHP.');
  3.         }
  4.         if (filter_var(ini_get('session.use_cookies'), \FILTER_VALIDATE_BOOLEAN) && headers_sent($file$line)) {
  5.             throw new \RuntimeException(sprintf('Failed to start the session because headers have already been sent by "%s" at line %d.'$file$line));
  6.         }
  7.         // ok to try and start the session
  8.         if (!session_start()) {
  9.             throw new \RuntimeException('Failed to start the session.');
  1.         }
  2.         if (!$this->started && $this->saveHandler->isActive()) {
  3.             $this->loadSession();
  4.         } elseif (!$this->started) {
  5.             $this->start();
  6.         }
  7.         return $this->bags[$name];
  8.     }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function getBag($name)
  5.     {
  6.         $bag $this->storage->getBag($name);
  7.         return method_exists($bag'getBag') ? $bag->getBag() : $bag;
  8.     }
  9.     /**
  1.      *
  2.      * Note that this method was added to help with IDE autocompletion.
  3.      */
  4.     private function getAttributeBag(): AttributeBagInterface
  5.     {
  6.         return $this->getBag($this->attributeName);
  7.     }
  8. }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function get($name$default null)
  5.     {
  6.         return $this->getAttributeBag()->get($name$default);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     }
  2.     // Some objects throw exceptions when they have __call, and the method we try
  3.     // to call is not supported. If ignoreStrictCheck is true, we should return null.
  4.     try {
  5.         $ret $object->$method(...$arguments);
  6.     } catch (\BadMethodCallException $e) {
  7.         if ($call && ($ignoreStrictCheck || !$env->isStrictVariables())) {
  8.             return;
  9.         }
  10.         throw $e;
  1.                         <span id=\"cart-count\" class=\"ns-QuickCart-itemLength js-QuickCart-itemLength\">
  2.                         ";
  3.         // line 256
  4.         if ((null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'256$this->source); })()), "session", [], "any"falsefalsefalse256), "get", [=> "number_items"], "method"falsefalsefalse256))) {
  5.             // line 257
  6.             echo "                            0
  7.                         ";
  8.         } else {
  9.             // line 259
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.      */
  2.     public function render(array $context = []): string
  3.     {
  4.         // using func_get_args() allows to not expose the blocks argument
  5.         // as it should only be used by internal code
  6.         return $this->template->render($context, \func_get_args()[1] ?? []);
  7.     }
  8.     /**
  9.      * Displays the template.
  10.      *
  1.      * @throws SyntaxError  When an error occurred during compilation
  2.      * @throws RuntimeError When an error occurred during rendering
  3.      */
  4.     public function render($name, array $context = [])
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
  1.             [
  2.                 'status_code' => $code,
  3.                 'status_text' => Response::$statusTexts[$code] ?? '',
  4.                 'exception' => $exception,
  5.                 'logger' => $logger,
  6.                 'currentContent' => $currentContent,
  7.             ]
  8.         ), 200, ['Content-Type' => $request->getMimeType($request->getRequestFormat()) ?: 'text/html']);
  9.     }
  10.     /**
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $exception $event->getException();
  2.         $request $this->duplicateRequest($exception$event->getRequest());
  3.         $eventDispatcher = \func_num_args() > func_get_arg(2) : null;
  4.         try {
  5.             $response $event->getKernel()->handle($requestHttpKernelInterface::SUB_REQUESTfalse);
  6.         } catch (\Exception $e) {
  7.             $f FlattenException::createFromThrowable($e);
  8.             $this->logException($esprintf('Exception thrown when handling an exception (%s: %s at %s line %s)'$f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
  1.         $this->called true;
  2.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
  1.     {
  2.         foreach ($listeners as $listener) {
  3.             if ($event->isPropagationStopped()) {
  4.                 break;
  5.             }
  6.             $listener($event$eventName$this);
  7.         }
  8.     }
  9.     /**
  10.      * Sorts the internal list of listeners for the given event by priority.
  1.      * @param object     $event     The event object to pass to the event handlers/listeners
  2.      */
  3.     protected function callListeners(iterable $listenersstring $eventName$event)
  4.     {
  5.         if ($event instanceof Event) {
  6.             $this->doDispatch($listeners$eventName$event);
  7.             return;
  8.         }
  9.         $stoppable $event instanceof ContractsEvent || $event instanceof StoppableEventInterface;
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.      * @throws \Exception
  2.      */
  3.     private function handleThrowable(\Throwable $eRequest $requestint $type): Response
  4.     {
  5.         $event = new ExceptionEvent($this$request$type$e);
  6.         $this->dispatcher->dispatch($eventKernelEvents::EXCEPTION);
  7.         // a listener might have replaced the exception
  8.         $e $event->getThrowable();
  9.         if (!$event->hasResponse()) {
  1.     {
  2.         if (!$request $request ?: $this->requestStack->getMasterRequest()) {
  3.             throw $exception;
  4.         }
  5.         $response $this->handleThrowable($exception$requestself::MASTER_REQUEST);
  6.         $response->sendHeaders();
  7.         $response->sendContent();
  8.         $this->terminate($request$response);
  1.                         if ($hasRun) {
  2.                             throw $e;
  3.                         }
  4.                         $hasRun true;
  5.                         $kernel->terminateWithException($e$request);
  6.                     };
  7.                 }
  8.             } elseif ($event instanceof ConsoleEvent && $app $event->getCommand()->getApplication()) {
  9.                 $output $event->getOutput();
  10.                 if ($output instanceof ConsoleOutputInterface) {
in /home/wwwnicolas/public_html/vendor/symfony/error-handler/ErrorHandler.php :: Symfony\Component\HttpKernel\EventListener\{closure} (line 601)
  1.             $this->exceptionHandler null;
  2.         }
  3.         try {
  4.             if (null !== $exceptionHandler) {
  5.                 return $exceptionHandler($exception);
  6.             }
  7.             $handlerException $handlerException ?: $exception;
  8.         } catch (\Throwable $handlerException) {
  9.         }
  10.         if ($exception === $handlerException && null === $this->exceptionHandler) {
ErrorHandler->handleException(object(RuntimeError))

Twig\Error\ RuntimeError

An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "/home/wwwnicolas/public_html/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 182.").

  1.                 <a  href="{{ path('_frontend_cart') }}">
  2.                     <span class="ns-QuickCart-IconContainer">
  3.                         <span id="cart-count" class="ns-QuickCart-itemLength js-QuickCart-itemLength">
  4.                         {% if app.session.get('number_items') is null %}
  5.                             0
  6.                         {% else %}
  7.                              {{ app.session.get('number_items') }} 
  8.                         {% endif %}
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.      */
  2.     public function render(array $context = []): string
  3.     {
  4.         // using func_get_args() allows to not expose the blocks argument
  5.         // as it should only be used by internal code
  6.         return $this->template->render($context, \func_get_args()[1] ?? []);
  7.     }
  8.     /**
  9.      * Displays the template.
  10.      *
  1.      * @throws SyntaxError  When an error occurred during compilation
  2.      * @throws RuntimeError When an error occurred during rendering
  3.      */
  4.     public function render($name, array $context = [])
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
  1.             [
  2.                 'status_code' => $code,
  3.                 'status_text' => Response::$statusTexts[$code] ?? '',
  4.                 'exception' => $exception,
  5.                 'logger' => $logger,
  6.                 'currentContent' => $currentContent,
  7.             ]
  8.         ), 200, ['Content-Type' => $request->getMimeType($request->getRequestFormat()) ?: 'text/html']);
  9.     }
  10.     /**
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $exception $event->getException();
  2.         $request $this->duplicateRequest($exception$event->getRequest());
  3.         $eventDispatcher = \func_num_args() > func_get_arg(2) : null;
  4.         try {
  5.             $response $event->getKernel()->handle($requestHttpKernelInterface::SUB_REQUESTfalse);
  6.         } catch (\Exception $e) {
  7.             $f FlattenException::createFromThrowable($e);
  8.             $this->logException($esprintf('Exception thrown when handling an exception (%s: %s at %s line %s)'$f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
  1.         $this->called true;
  2.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
  1.     {
  2.         foreach ($listeners as $listener) {
  3.             if ($event->isPropagationStopped()) {
  4.                 break;
  5.             }
  6.             $listener($event$eventName$this);
  7.         }
  8.     }
  9.     /**
  10.      * Sorts the internal list of listeners for the given event by priority.
  1.      * @param object     $event     The event object to pass to the event handlers/listeners
  2.      */
  3.     protected function callListeners(iterable $listenersstring $eventName$event)
  4.     {
  5.         if ($event instanceof Event) {
  6.             $this->doDispatch($listeners$eventName$event);
  7.             return;
  8.         }
  9.         $stoppable $event instanceof ContractsEvent || $event instanceof StoppableEventInterface;
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.      * @throws \Exception
  2.      */
  3.     private function handleThrowable(\Throwable $eRequest $requestint $type): Response
  4.     {
  5.         $event = new ExceptionEvent($this$request$type$e);
  6.         $this->dispatcher->dispatch($eventKernelEvents::EXCEPTION);
  7.         // a listener might have replaced the exception
  8.         $e $event->getThrowable();
  9.         if (!$event->hasResponse()) {
  1.                 $this->finishRequest($request$type);
  2.                 throw $e;
  3.             }
  4.             return $this->handleThrowable($e$request$type);
  5.         }
  6.     }
  7.     /**
  8.      * {@inheritdoc}
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle(object(Request)) in /home/wwwnicolas/public_html/public/index.php (line 30)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

RuntimeException

Failed to start the session because headers have already been sent by "/home/wwwnicolas/public_html/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 182.

  1.         if (\PHP_SESSION_ACTIVE === session_status()) {
  2.             throw new \RuntimeException('Failed to start the session: already started by PHP.');
  3.         }
  4.         if (filter_var(ini_get('session.use_cookies'), \FILTER_VALIDATE_BOOLEAN) && headers_sent($file$line)) {
  5.             throw new \RuntimeException(sprintf('Failed to start the session because headers have already been sent by "%s" at line %d.'$file$line));
  6.         }
  7.         // ok to try and start the session
  8.         if (!session_start()) {
  9.             throw new \RuntimeException('Failed to start the session.');
  1.         }
  2.         if (!$this->started && $this->saveHandler->isActive()) {
  3.             $this->loadSession();
  4.         } elseif (!$this->started) {
  5.             $this->start();
  6.         }
  7.         return $this->bags[$name];
  8.     }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function getBag($name)
  5.     {
  6.         $bag $this->storage->getBag($name);
  7.         return method_exists($bag'getBag') ? $bag->getBag() : $bag;
  8.     }
  9.     /**
  1.      *
  2.      * Note that this method was added to help with IDE autocompletion.
  3.      */
  4.     private function getAttributeBag(): AttributeBagInterface
  5.     {
  6.         return $this->getBag($this->attributeName);
  7.     }
  8. }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function get($name$default null)
  5.     {
  6.         return $this->getAttributeBag()->get($name$default);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     }
  2.     // Some objects throw exceptions when they have __call, and the method we try
  3.     // to call is not supported. If ignoreStrictCheck is true, we should return null.
  4.     try {
  5.         $ret $object->$method(...$arguments);
  6.     } catch (\BadMethodCallException $e) {
  7.         if ($call && ($ignoreStrictCheck || !$env->isStrictVariables())) {
  8.             return;
  9.         }
  10.         throw $e;
  1.                         <span id=\"cart-count\" class=\"ns-QuickCart-itemLength js-QuickCart-itemLength\">
  2.                         ";
  3.         // line 256
  4.         if ((null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'256$this->source); })()), "session", [], "any"falsefalsefalse256), "get", [=> "number_items"], "method"falsefalsefalse256))) {
  5.             // line 257
  6.             echo "                            0
  7.                         ";
  8.         } else {
  9.             // line 259
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.      */
  2.     public function render(array $context = []): string
  3.     {
  4.         // using func_get_args() allows to not expose the blocks argument
  5.         // as it should only be used by internal code
  6.         return $this->template->render($context, \func_get_args()[1] ?? []);
  7.     }
  8.     /**
  9.      * Displays the template.
  10.      *
  1.      * @throws SyntaxError  When an error occurred during compilation
  2.      * @throws RuntimeError When an error occurred during rendering
  3.      */
  4.     public function render($name, array $context = [])
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
  1.             [
  2.                 'status_code' => $code,
  3.                 'status_text' => Response::$statusTexts[$code] ?? '',
  4.                 'exception' => $exception,
  5.                 'logger' => $logger,
  6.                 'currentContent' => $currentContent,
  7.             ]
  8.         ), 200, ['Content-Type' => $request->getMimeType($request->getRequestFormat()) ?: 'text/html']);
  9.     }
  10.     /**
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $exception $event->getException();
  2.         $request $this->duplicateRequest($exception$event->getRequest());
  3.         $eventDispatcher = \func_num_args() > func_get_arg(2) : null;
  4.         try {
  5.             $response $event->getKernel()->handle($requestHttpKernelInterface::SUB_REQUESTfalse);
  6.         } catch (\Exception $e) {
  7.             $f FlattenException::createFromThrowable($e);
  8.             $this->logException($esprintf('Exception thrown when handling an exception (%s: %s at %s line %s)'$f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
  1.         $this->called true;
  2.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
  1.     {
  2.         foreach ($listeners as $listener) {
  3.             if ($event->isPropagationStopped()) {
  4.                 break;
  5.             }
  6.             $listener($event$eventName$this);
  7.         }
  8.     }
  9.     /**
  10.      * Sorts the internal list of listeners for the given event by priority.
  1.      * @param object     $event     The event object to pass to the event handlers/listeners
  2.      */
  3.     protected function callListeners(iterable $listenersstring $eventName$event)
  4.     {
  5.         if ($event instanceof Event) {
  6.             $this->doDispatch($listeners$eventName$event);
  7.             return;
  8.         }
  9.         $stoppable $event instanceof ContractsEvent || $event instanceof StoppableEventInterface;
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.      * @throws \Exception
  2.      */
  3.     private function handleThrowable(\Throwable $eRequest $requestint $type): Response
  4.     {
  5.         $event = new ExceptionEvent($this$request$type$e);
  6.         $this->dispatcher->dispatch($eventKernelEvents::EXCEPTION);
  7.         // a listener might have replaced the exception
  8.         $e $event->getThrowable();
  9.         if (!$event->hasResponse()) {
  1.                 $this->finishRequest($request$type);
  2.                 throw $e;
  3.             }
  4.             return $this->handleThrowable($e$request$type);
  5.         }
  6.     }
  7.     /**
  8.      * {@inheritdoc}
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle(object(Request)) in /home/wwwnicolas/public_html/public/index.php (line 30)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Twig\Error\ RuntimeError

An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "/home/wwwnicolas/public_html/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 182.").

  1.                 <a  href="{{ path('_frontend_cart') }}">
  2.                     <span class="ns-QuickCart-IconContainer">
  3.                         <span id="cart-count" class="ns-QuickCart-itemLength js-QuickCart-itemLength">
  4.                         {% if app.session.get('number_items') is null %}
  5.                             0
  6.                         {% else %}
  7.                              {{ app.session.get('number_items') }} 
  8.                         {% endif %}
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.         echo "
  2. ";
  3.         // line 290
  4.         $this->loadTemplate("@BDMNicolasFrontend/Partials/header.html.twig""@BDMNicolasFrontend/layout.html.twig"290)->display($context);
  5.         // line 291
  6.         echo "
  7. ";
  8.         // line 292
  9.         $this->displayBlock('content'$context$blocks);
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.         $macros $this->macros;
  2.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BDMNicolasFrontend/Products/index.html.twig"));
  4.         $this->parent $this->loadTemplate("@BDMNicolasFrontend/layout.html.twig""@BDMNicolasFrontend/Products/index.html.twig"1);
  5.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  6.         
  7.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  8.     }
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.      *
  2.      * @throws Error if something went wrong like a thrown exception while rendering the template
  3.      */
  4.     public function render($name, array $parameters = [])
  5.     {
  6.         return $this->load($name)->render($parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      *
  1.     protected function render(string $view, array $parameters = [], Response $response null): Response
  2.     {
  3.         if ($this->container->has('templating')) {
  4.             @trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
  5.             $content $this->container->get('templating')->render($view$parameters);
  6.         } elseif ($this->container->has('twig')) {
  7.             $content $this->container->get('twig')->render($view$parameters);
  8.         } else {
  9.             throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
  10.         }
Controller->render('@BDMNicolasFrontend/Products/index.html.twig', array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)))) in /home/wwwnicolas/public_html/src/BDM/Nicolas/FrontendBundle/Controller/ProductsController.php (line 188)
  1.             ));
  2.             $this->addData(array('subCategories' => $sub_categories));
  3.         }
  4.         return $this->render('@BDMNicolasFrontend/Products/index.html.twig'$this->getData());
  5.     }
  6.     /**
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle(object(Request)) in /home/wwwnicolas/public_html/public/index.php (line 30)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

RuntimeException

Failed to start the session because headers have already been sent by "/home/wwwnicolas/public_html/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 182.

  1.         if (\PHP_SESSION_ACTIVE === session_status()) {
  2.             throw new \RuntimeException('Failed to start the session: already started by PHP.');
  3.         }
  4.         if (filter_var(ini_get('session.use_cookies'), \FILTER_VALIDATE_BOOLEAN) && headers_sent($file$line)) {
  5.             throw new \RuntimeException(sprintf('Failed to start the session because headers have already been sent by "%s" at line %d.'$file$line));
  6.         }
  7.         // ok to try and start the session
  8.         if (!session_start()) {
  9.             throw new \RuntimeException('Failed to start the session.');
  1.         }
  2.         if (!$this->started && $this->saveHandler->isActive()) {
  3.             $this->loadSession();
  4.         } elseif (!$this->started) {
  5.             $this->start();
  6.         }
  7.         return $this->bags[$name];
  8.     }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function getBag($name)
  5.     {
  6.         $bag $this->storage->getBag($name);
  7.         return method_exists($bag'getBag') ? $bag->getBag() : $bag;
  8.     }
  9.     /**
  1.      *
  2.      * Note that this method was added to help with IDE autocompletion.
  3.      */
  4.     private function getAttributeBag(): AttributeBagInterface
  5.     {
  6.         return $this->getBag($this->attributeName);
  7.     }
  8. }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function get($name$default null)
  5.     {
  6.         return $this->getAttributeBag()->get($name$default);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     }
  2.     // Some objects throw exceptions when they have __call, and the method we try
  3.     // to call is not supported. If ignoreStrictCheck is true, we should return null.
  4.     try {
  5.         $ret $object->$method(...$arguments);
  6.     } catch (\BadMethodCallException $e) {
  7.         if ($call && ($ignoreStrictCheck || !$env->isStrictVariables())) {
  8.             return;
  9.         }
  10.         throw $e;
  1.                         <span id=\"cart-count\" class=\"ns-QuickCart-itemLength js-QuickCart-itemLength\">
  2.                         ";
  3.         // line 219
  4.         if ((null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'219$this->source); })()), "session", [], "any"falsefalsefalse219), "get", [=> "number_items"], "method"falsefalsefalse219))) {
  5.             // line 220
  6.             echo "                            0
  7.                         ";
  8.         } else {
  9.             // line 222
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.         echo "
  2. ";
  3.         // line 290
  4.         $this->loadTemplate("@BDMNicolasFrontend/Partials/header.html.twig""@BDMNicolasFrontend/layout.html.twig"290)->display($context);
  5.         // line 291
  6.         echo "
  7. ";
  8.         // line 292
  9.         $this->displayBlock('content'$context$blocks);
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.         $macros $this->macros;
  2.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BDMNicolasFrontend/Products/index.html.twig"));
  4.         $this->parent $this->loadTemplate("@BDMNicolasFrontend/layout.html.twig""@BDMNicolasFrontend/Products/index.html.twig"1);
  5.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  6.         
  7.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  8.     }
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.      *
  2.      * @throws Error if something went wrong like a thrown exception while rendering the template
  3.      */
  4.     public function render($name, array $parameters = [])
  5.     {
  6.         return $this->load($name)->render($parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      *
  1.     protected function render(string $view, array $parameters = [], Response $response null): Response
  2.     {
  3.         if ($this->container->has('templating')) {
  4.             @trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
  5.             $content $this->container->get('templating')->render($view$parameters);
  6.         } elseif ($this->container->has('twig')) {
  7.             $content $this->container->get('twig')->render($view$parameters);
  8.         } else {
  9.             throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
  10.         }
Controller->render('@BDMNicolasFrontend/Products/index.html.twig', array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)))) in /home/wwwnicolas/public_html/src/BDM/Nicolas/FrontendBundle/Controller/ProductsController.php (line 188)
  1.             ));
  2.             $this->addData(array('subCategories' => $sub_categories));
  3.         }
  4.         return $this->render('@BDMNicolasFrontend/Products/index.html.twig'$this->getData());
  5.     }
  6.     /**
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle(object(Request)) in /home/wwwnicolas/public_html/public/index.php (line 30)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Stack Traces 6

[6/6] RuntimeError

Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "/home/wwwnicolas/public_html/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 182.").

  at /home/wwwnicolas/public_html/templates/bundles/TwigBundle/Exception/exception_full.html.twig:256
  at Twig\Template->displayWithErrorHandling(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => '', 'app' => object(AppVariable)), array('front_end_css' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_front_end_css'), 'content' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_content'), 'front_end_js' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:390)
  at Twig\Template->render(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''), array())
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/TemplateWrapper.php:45)
  at Twig\TemplateWrapper->render(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Environment.php:318)
  at Twig\Environment->render('@Twig/Exception/exception_full.html.twig', array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''))
     (/home/wwwnicolas/public_html/vendor/symfony/twig-bundle/Controller/ExceptionController.php:73)
  at Symfony\Bundle\TwigBundle\Controller\ExceptionController->showAction(object(Request), object(FlattenException), object(Logger))
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:158)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/EventListener/ExceptionListener.php:61)
  at Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:264)
  at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:239)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:73)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:219)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(RuntimeError), object(Request), 1)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:112)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(RuntimeError), object(Request))
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:129)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}(object(RuntimeError))
     (/home/wwwnicolas/public_html/vendor/symfony/error-handler/ErrorHandler.php:601)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(RuntimeError))                

[5/6] RuntimeException

RuntimeException:
Failed to start the session because headers have already been sent by "/home/wwwnicolas/public_html/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 182.

  at /home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:152
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
     (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:323)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes')
     (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Session.php:249)
  at Symfony\Component\HttpFoundation\Session\Session->getBag('attributes')
     (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Session.php:271)
  at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
     (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Session.php:73)
  at Symfony\Component\HttpFoundation\Session\Session->get('number_items')
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Extension/CoreExtension.php:1507)
  at twig_get_attribute(object(Environment), object(Source), object(Session), 'get', array('number_items'), 'method', false, false, false, 256)
     (/home/wwwnicolas/public_html/var/cache/prod/twig/30/306178379a64fe2fbee278f304257240baa1c2c5b58342441d6ad78d4f244a26.php:428)
  at __TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172->doDisplay(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => '', 'app' => object(AppVariable)), array('front_end_css' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_front_end_css'), 'content' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_content'), 'front_end_js' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => '', 'app' => object(AppVariable)), array('front_end_css' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_front_end_css'), 'content' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_content'), 'front_end_js' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:390)
  at Twig\Template->render(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''), array())
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/TemplateWrapper.php:45)
  at Twig\TemplateWrapper->render(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Environment.php:318)
  at Twig\Environment->render('@Twig/Exception/exception_full.html.twig', array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''))
     (/home/wwwnicolas/public_html/vendor/symfony/twig-bundle/Controller/ExceptionController.php:73)
  at Symfony\Bundle\TwigBundle\Controller\ExceptionController->showAction(object(Request), object(FlattenException), object(Logger))
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:158)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/EventListener/ExceptionListener.php:61)
  at Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:264)
  at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:239)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:73)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:219)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(RuntimeError), object(Request), 1)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:112)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(RuntimeError), object(Request))
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:129)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}(object(RuntimeError))
     (/home/wwwnicolas/public_html/vendor/symfony/error-handler/ErrorHandler.php:601)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(RuntimeError))                

[4/6] RuntimeError

Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "/home/wwwnicolas/public_html/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 182.").

  at /home/wwwnicolas/public_html/templates/bundles/TwigBundle/Exception/exception_full.html.twig:256
  at Twig\Template->displayWithErrorHandling(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => '', 'app' => object(AppVariable)), array('front_end_css' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_front_end_css'), 'content' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_content'), 'front_end_js' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:390)
  at Twig\Template->render(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''), array())
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/TemplateWrapper.php:45)
  at Twig\TemplateWrapper->render(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Environment.php:318)
  at Twig\Environment->render('@Twig/Exception/exception_full.html.twig', array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''))
     (/home/wwwnicolas/public_html/vendor/symfony/twig-bundle/Controller/ExceptionController.php:73)
  at Symfony\Bundle\TwigBundle\Controller\ExceptionController->showAction(object(Request), object(FlattenException), object(Logger))
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:158)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/EventListener/ExceptionListener.php:61)
  at Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:264)
  at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:239)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:73)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:219)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(RuntimeError), object(Request), 1)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:91)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (/home/wwwnicolas/public_html/public/index.php:30)                

[3/6] RuntimeException

RuntimeException:
Failed to start the session because headers have already been sent by "/home/wwwnicolas/public_html/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 182.

  at /home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:152
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
     (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:323)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes')
     (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Session.php:249)
  at Symfony\Component\HttpFoundation\Session\Session->getBag('attributes')
     (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Session.php:271)
  at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
     (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Session.php:73)
  at Symfony\Component\HttpFoundation\Session\Session->get('number_items')
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Extension/CoreExtension.php:1507)
  at twig_get_attribute(object(Environment), object(Source), object(Session), 'get', array('number_items'), 'method', false, false, false, 256)
     (/home/wwwnicolas/public_html/var/cache/prod/twig/30/306178379a64fe2fbee278f304257240baa1c2c5b58342441d6ad78d4f244a26.php:428)
  at __TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172->doDisplay(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => '', 'app' => object(AppVariable)), array('front_end_css' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_front_end_css'), 'content' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_content'), 'front_end_js' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => '', 'app' => object(AppVariable)), array('front_end_css' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_front_end_css'), 'content' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_content'), 'front_end_js' => array(object(__TwigTemplate_e736f23043d2c7cef1fac98b2e5a99e9f0fc4b2757eb5ab71977eb063bfa4172), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:390)
  at Twig\Template->render(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''), array())
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/TemplateWrapper.php:45)
  at Twig\TemplateWrapper->render(array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Environment.php:318)
  at Twig\Environment->render('@Twig/Exception/exception_full.html.twig', array('status_code' => 500, 'status_text' => 'Internal Server Error', 'exception' => object(FlattenException), 'logger' => object(Logger), 'currentContent' => ''))
     (/home/wwwnicolas/public_html/vendor/symfony/twig-bundle/Controller/ExceptionController.php:73)
  at Symfony\Bundle\TwigBundle\Controller\ExceptionController->showAction(object(Request), object(FlattenException), object(Logger))
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:158)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/EventListener/ExceptionListener.php:61)
  at Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:264)
  at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:239)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:73)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:219)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(RuntimeError), object(Request), 1)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:91)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (/home/wwwnicolas/public_html/public/index.php:30)                

[2/6] RuntimeError

Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "/home/wwwnicolas/public_html/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 182.").

  at /home/wwwnicolas/public_html/templates/bundles/BDMNicolasFrontendBundle/Partials/header.html.twig:219
  at Twig\Template->displayWithErrorHandling(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)), array())
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)))
     (/home/wwwnicolas/public_html/var/cache/prod/twig/27/276055d83cff3705a4445cd2afc6ea663d184b907c87ef4ea4ed0abf443ab261.php:386)
  at __TwigTemplate_bc701a73d8c96341a2fbd56448c14699a721d984c663fea8ce18c63c187b3c73->doDisplay(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)), array('front_end_css' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_css'), 'content' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_content'), 'front_end_js' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)), array('front_end_css' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_css'), 'content' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_content'), 'front_end_js' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)), array('content' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_content'), 'front_end_css' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_css'), 'front_end_js' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/var/cache/prod/twig/a6/a641728c0511095243cbedeb9c7471e0755674b96e5ffd23ec5ab929e7330e9c.php:47)
  at __TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757->doDisplay(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)), array('content' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_content'), 'front_end_css' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_css'), 'front_end_js' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)), array('content' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_content'), 'front_end_css' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_css'), 'front_end_js' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory))))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:390)
  at Twig\Template->render(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory))))
     (/home/wwwnicolas/public_html/vendor/symfony/twig-bridge/TwigEngine.php:54)
  at Symfony\Bridge\Twig\TwigEngine->render('@BDMNicolasFrontend/Products/index.html.twig', array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory))))
     (/home/wwwnicolas/public_html/vendor/symfony/framework-bundle/Controller/ControllerTrait.php:233)
  at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('@BDMNicolasFrontend/Products/index.html.twig', array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory))))
     (/home/wwwnicolas/public_html/src/BDM/Nicolas/FrontendBundle/Controller/ProductsController.php:188)
  at BDM\Nicolas\FrontendBundle\Controller\ProductsController->productsByWeighAction(array('weigh' => '33'), 'epicerie-fine', '8')
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:158)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (/home/wwwnicolas/public_html/public/index.php:30)                

[1/6] RuntimeException

RuntimeException:
Failed to start the session because headers have already been sent by "/home/wwwnicolas/public_html/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 182.

  at /home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:152
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
     (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:323)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes')
     (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Session.php:249)
  at Symfony\Component\HttpFoundation\Session\Session->getBag('attributes')
     (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Session.php:271)
  at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
     (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Session.php:73)
  at Symfony\Component\HttpFoundation\Session\Session->get('number_items')
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Extension/CoreExtension.php:1507)
  at twig_get_attribute(object(Environment), object(Source), object(Session), 'get', array('number_items'), 'method', false, false, false, 219)
     (/home/wwwnicolas/public_html/var/cache/prod/twig/24/24d7a839ae1abac342f498008686c35e05c0d79c89b306291c4cb04ce0dae9cc.php:346)
  at __TwigTemplate_ca2823c7b17529bb792108c361f5da700f03de2b4c45876cfb457b1e31e83ab7->doDisplay(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)), array())
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)), array())
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)))
     (/home/wwwnicolas/public_html/var/cache/prod/twig/27/276055d83cff3705a4445cd2afc6ea663d184b907c87ef4ea4ed0abf443ab261.php:386)
  at __TwigTemplate_bc701a73d8c96341a2fbd56448c14699a721d984c663fea8ce18c63c187b3c73->doDisplay(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)), array('front_end_css' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_css'), 'content' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_content'), 'front_end_js' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)), array('front_end_css' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_css'), 'content' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_content'), 'front_end_js' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)), array('content' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_content'), 'front_end_css' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_css'), 'front_end_js' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/var/cache/prod/twig/a6/a641728c0511095243cbedeb9c7471e0755674b96e5ffd23ec5ab929e7330e9c.php:47)
  at __TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757->doDisplay(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)), array('content' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_content'), 'front_end_css' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_css'), 'front_end_js' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory)), 'app' => object(AppVariable)), array('content' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_content'), 'front_end_css' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_css'), 'front_end_js' => array(object(__TwigTemplate_3bec65d981b15bdcffcf9df225cbf197b42fc0d9fd2fda51386c6ca2a873b757), 'block_front_end_js')))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory))))
     (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:390)
  at Twig\Template->render(array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory))))
     (/home/wwwnicolas/public_html/vendor/symfony/twig-bridge/TwigEngine.php:54)
  at Symfony\Bridge\Twig\TwigEngine->render('@BDMNicolasFrontend/Products/index.html.twig', array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory))))
     (/home/wwwnicolas/public_html/vendor/symfony/framework-bundle/Controller/ControllerTrait.php:233)
  at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('@BDMNicolasFrontend/Products/index.html.twig', array('page_title' => 'Categorie : Épicerie fine', 'products' => object(SlidingPagination), 'category' => object(ProductCategory), 'weighs' => array('', '50', '110', '130', '45', '100', '200', '167', '92', '280', '490', '560', '150', '65', '140', '90', '25', '33'), 'subCategories' => array(object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory), object(ProductSubCategory))))
     (/home/wwwnicolas/public_html/src/BDM/Nicolas/FrontendBundle/Controller/ProductsController.php:188)
  at BDM\Nicolas\FrontendBundle\Controller\ProductsController->productsByWeighAction(array('weigh' => '33'), 'epicerie-fine', '8')
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:158)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (/home/wwwnicolas/public_html/public/index.php:30)