^ 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 {#1929 -route: "_products_by_weigh" -params: array:3 [ "category_id" => "8" "category_slug" => "epicerie-fine" "weigh" => "100" ] -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:3 [ 0 => BDM\Nicolas\BackendBundle\Entity\Product {#2038 -id: 1109 -label: "Tapenade olives noires et tomates séchées" -careLevel: null -ref: "REF1783" -seen: 338 -serviceTemperature: null -regularPrice: 70.0 -strikePrice: 70.0 -loyalityPrice: 70.0 -volume: null -corps: null -fraicheur: null -evolution: null -style: null -characteristics1: null -characteristicsDetails: null -characteristics2: null -state: 1 -appelation: null -cepage: null -description: "La tapenade noire aux tomates séchées et basilic peut être servie sur toast à l’apéritif, pour farcir un poisson à griller, ou bien pour étaler sur une viande blanche comme un lapin (à la tapenade)." #slug: "tapenade-olives-noires-et-tomates-sechees" #weigh: "100" #vintage: null -isNew: 0 #brand: null #region: null #country: null #sub_category: Proxies\__CG__\BDM\Nicolas\BackendBundle\Entity\ProductSubCategory {#2247 +__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 {#2268 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\Product {#2038} -association: array:15 [ …15] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "product" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#2245 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#2270 -elements: [] } #initialized: false } #alliances: Doctrine\ORM\PersistentCollection {#2314 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\Product {#2038} -association: array:20 [ …20] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "products" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#2272 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#2316 -elements: [] } #initialized: false } #articles: Doctrine\ORM\PersistentCollection {#2355 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\Product {#2038} -association: array:20 [ …20] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "products" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#2318 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#2357 -elements: [] } #initialized: false } #orderProduct: Doctrine\ORM\PersistentCollection {#2415 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\Product {#2038} -association: array:15 [ …15] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "products" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#2359 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#2413 -elements: [] } #initialized: false } } 1 => BDM\Nicolas\BackendBundle\Entity\Product {#2412 -id: 1110 -label: "Tapenade olives vertes aux amandes" -careLevel: null -ref: "REF1647" -seen: 289 -serviceTemperature: null -regularPrice: 70.0 -strikePrice: 70.0 -loyalityPrice: 70.0 -volume: null -corps: null -fraicheur: null -evolution: null -style: null -characteristics1: null -characteristicsDetails: null -characteristics2: null -state: 1 -appelation: null -cepage: null -description: "La tapenade d'olives vertes aux amandes peut être servie sur toast à l’apéritif. Elle peut également accompagner une viande blanche ou un poisson dans sa cuisson lente au barbecue." #slug: "tapenade-olives-vertes-aux-amandes" #weigh: "100" #vintage: null -isNew: 0 #brand: null #region: null #country: null #sub_category: Proxies\__CG__\BDM\Nicolas\BackendBundle\Entity\ProductSubCategory {#2247 …2} #color: null #taste: null #images: Doctrine\ORM\PersistentCollection {#2411 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\Product {#2412} -association: array:15 [ …15] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "product" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#2245 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#2410 -elements: [] } #initialized: false } #alliances: Doctrine\ORM\PersistentCollection {#2409 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\Product {#2412} -association: array:20 [ …20] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "products" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#2272 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#2408 -elements: [] } #initialized: false } #articles: Doctrine\ORM\PersistentCollection {#2407 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\Product {#2412} -association: array:20 [ …20] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "products" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#2318 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#2406 -elements: [] } #initialized: false } #orderProduct: Doctrine\ORM\PersistentCollection {#2405 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\Product {#2412} -association: array:15 [ …15] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "products" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#2359 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#2404 -elements: [] } #initialized: false } } 2 => BDM\Nicolas\BackendBundle\Entity\Product {#2403 -id: 1111 -label: "Antipasti aux 2 tomates" -careLevel: null -ref: "REF1645" -seen: 229 -serviceTemperature: null -regularPrice: 70.0 -strikePrice: 70.0 -loyalityPrice: 70.0 -volume: null -corps: null -fraicheur: null -evolution: null -style: null -characteristics1: null -characteristicsDetails: null -characteristics2: null -state: 1 -appelation: null -cepage: null -description: "L’antipasti aux deux tomates peut être servi sur toast accompagné de mozzarella ou de jambon cru mais également sur des tagliatelles avec un peu d’huile d’olive et de parmesan. Cette recette peut également accompagner vos pâtes cuites al dente." #slug: "antipasti-aux-2-tomates" #weigh: "100" #vintage: null -isNew: 0 #brand: null #region: null #country: null #sub_category: Proxies\__CG__\BDM\Nicolas\BackendBundle\Entity\ProductSubCategory {#2247 …2} #color: null #taste: null #images: Doctrine\ORM\PersistentCollection {#2402 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\Product {#2403} -association: array:15 [ …15] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "product" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#2245 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#2401 -elements: [] } #initialized: false } #alliances: Doctrine\ORM\PersistentCollection {#2400 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\Product {#2403} -association: array:20 [ …20] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "products" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#2272 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#2399 -elements: [] } #initialized: false } #articles: Doctrine\ORM\PersistentCollection {#2398 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\Product {#2403} -association: array:20 [ …20] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "products" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#2318 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#2397 -elements: [] } #initialized: false } #orderProduct: Doctrine\ORM\PersistentCollection {#2396 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\Product {#2403} -association: array:15 [ …15] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "products" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#2359 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#2395 -elements: [] } #initialized: false } } ] #totalCount: 3 #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 {#1805 -id: 8 -label: "Épicerie fine" -code: "comtesse-du-barry" -description: "comtesse-du-barry" -slug: "epicerie-fine" -isActive: 1 #subcategories: Doctrine\ORM\PersistentCollection {#1811 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\ProductCategory {#1805} -association: array:15 [ …15] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "category" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1802 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#1870 -elements: [] } #initialized: false } #banners: Doctrine\ORM\PersistentCollection {#1831 -snapshot: [] -owner: BDM\Nicolas\BackendBundle\Entity\ProductCategory {#1805} -association: array:15 [ …15] -em: Doctrine\ORM\EntityManager {#337 …11} -backRefFieldName: "category" -typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1867 …} -isDirty: false #collection: Doctrine\Common\Collections\ArrayCollection {#1833 -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" ] ]
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
$exception = $event->getException();
$request = $this->duplicateRequest($exception, $event->getRequest());
$eventDispatcher = \func_num_args() > 2 ? func_get_arg(2) : null;
try {
$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
} catch (\Exception $e) {
$f = FlattenException::createFromThrowable($e);
$this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
* @param object $event The event object to pass to the event handlers/listeners
*/
protected function callListeners(iterable $listeners, string $eventName, $event)
{
if ($event instanceof Event) {
$this->doDispatch($listeners, $eventName, $event);
return;
}
$stoppable = $event instanceof ContractsEvent || $event instanceof StoppableEventInterface;
* @throws \Exception
*/
private function handleThrowable(\Throwable $e, Request $request, int $type): Response
{
$event = new ExceptionEvent($this, $request, $type, $e);
$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
// a listener might have replaced the exception
$e = $event->getThrowable();
if (!$event->hasResponse()) {
if (\PHP_SESSION_ACTIVE === session_status()) {
throw new \RuntimeException('Failed to start the session: already started by PHP.');
}
if (filter_var(ini_get('session.use_cookies'), \FILTER_VALIDATE_BOOLEAN) && headers_sent($file, $line)) {
throw new \RuntimeException(sprintf('Failed to start the session because headers have already been sent by "%s" at line %d.', $file, $line));
}
// ok to try and start the session
if (!session_start()) {
throw new \RuntimeException('Failed to start the session.');
}
// Some objects throw exceptions when they have __call, and the method we try
// to call is not supported. If ignoreStrictCheck is true, we should return null.
try {
$ret = $object->$method(...$arguments);
} catch (\BadMethodCallException $e) {
if ($call && ($ignoreStrictCheck || !$env->isStrictVariables())) {
return;
}
throw $e;
<span id=\"cart-count\" class=\"ns-QuickCart-itemLength js-QuickCart-itemLength\">
";
// line 249
if ((null === twig_get_attribute($this->env, $this->source, twig_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.', 249, $this->source); })()), "session", [], "any", false, false, false, 249), "get", [0 => "number_items"], "method", false, false, false, 249))) {
// line 250
echo " 0
";
} else {
// line 252
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
$exception = $event->getException();
$request = $this->duplicateRequest($exception, $event->getRequest());
$eventDispatcher = \func_num_args() > 2 ? func_get_arg(2) : null;
try {
$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
} catch (\Exception $e) {
$f = FlattenException::createFromThrowable($e);
$this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
* @param object $event The event object to pass to the event handlers/listeners
*/
protected function callListeners(iterable $listeners, string $eventName, $event)
{
if ($event instanceof Event) {
$this->doDispatch($listeners, $eventName, $event);
return;
}
$stoppable = $event instanceof ContractsEvent || $event instanceof StoppableEventInterface;
* @throws \Exception
*/
private function handleThrowable(\Throwable $e, Request $request, int $type): Response
{
$event = new ExceptionEvent($this, $request, $type, $e);
$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
// a listener might have replaced the exception
$e = $event->getThrowable();
if (!$event->hasResponse()) {
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
$exception = $event->getException();
$request = $this->duplicateRequest($exception, $event->getRequest());
$eventDispatcher = \func_num_args() > 2 ? func_get_arg(2) : null;
try {
$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
} catch (\Exception $e) {
$f = FlattenException::createFromThrowable($e);
$this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
* @param object $event The event object to pass to the event handlers/listeners
*/
protected function callListeners(iterable $listeners, string $eventName, $event)
{
if ($event instanceof Event) {
$this->doDispatch($listeners, $eventName, $event);
return;
}
$stoppable = $event instanceof ContractsEvent || $event instanceof StoppableEventInterface;
* @throws \Exception
*/
private function handleThrowable(\Throwable $e, Request $request, int $type): Response
{
$event = new ExceptionEvent($this, $request, $type, $e);
$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
// a listener might have replaced the exception
$e = $event->getThrowable();
if (!$event->hasResponse()) {
if (\PHP_SESSION_ACTIVE === session_status()) {
throw new \RuntimeException('Failed to start the session: already started by PHP.');
}
if (filter_var(ini_get('session.use_cookies'), \FILTER_VALIDATE_BOOLEAN) && headers_sent($file, $line)) {
throw new \RuntimeException(sprintf('Failed to start the session because headers have already been sent by "%s" at line %d.', $file, $line));
}
// ok to try and start the session
if (!session_start()) {
throw new \RuntimeException('Failed to start the session.');
}
// Some objects throw exceptions when they have __call, and the method we try
// to call is not supported. If ignoreStrictCheck is true, we should return null.
try {
$ret = $object->$method(...$arguments);
} catch (\BadMethodCallException $e) {
if ($call && ($ignoreStrictCheck || !$env->isStrictVariables())) {
return;
}
throw $e;
<span id=\"cart-count\" class=\"ns-QuickCart-itemLength js-QuickCart-itemLength\">
";
// line 249
if ((null === twig_get_attribute($this->env, $this->source, twig_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.', 249, $this->source); })()), "session", [], "any", false, false, false, 249), "get", [0 => "number_items"], "method", false, false, false, 249))) {
// line 250
echo " 0
";
} else {
// line 252
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
$exception = $event->getException();
$request = $this->duplicateRequest($exception, $event->getRequest());
$eventDispatcher = \func_num_args() > 2 ? func_get_arg(2) : null;
try {
$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
} catch (\Exception $e) {
$f = FlattenException::createFromThrowable($e);
$this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
* @param object $event The event object to pass to the event handlers/listeners
*/
protected function callListeners(iterable $listeners, string $eventName, $event)
{
if ($event instanceof Event) {
$this->doDispatch($listeners, $eventName, $event);
return;
}
$stoppable = $event instanceof ContractsEvent || $event instanceof StoppableEventInterface;
* @throws \Exception
*/
private function handleThrowable(\Throwable $e, Request $request, int $type): Response
{
$event = new ExceptionEvent($this, $request, $type, $e);
$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
// a listener might have replaced the exception
$e = $event->getThrowable();
if (!$event->hasResponse()) {
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@BDMNicolasFrontend/Products/index.html.twig"));
$this->parent = $this->loadTemplate("@BDMNicolasFrontend/layout.html.twig", "@BDMNicolasFrontend/Products/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
protected function render(string $view, array $parameters = [], Response $response = null): Response
{
if ($this->container->has('templating')) {
@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);
$content = $this->container->get('templating')->render($view, $parameters);
} elseif ($this->container->has('twig')) {
$content = $this->container->get('twig')->render($view, $parameters);
} else {
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".');
}
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
if (\PHP_SESSION_ACTIVE === session_status()) {
throw new \RuntimeException('Failed to start the session: already started by PHP.');
}
if (filter_var(ini_get('session.use_cookies'), \FILTER_VALIDATE_BOOLEAN) && headers_sent($file, $line)) {
throw new \RuntimeException(sprintf('Failed to start the session because headers have already been sent by "%s" at line %d.', $file, $line));
}
// ok to try and start the session
if (!session_start()) {
throw new \RuntimeException('Failed to start the session.');
}
// Some objects throw exceptions when they have __call, and the method we try
// to call is not supported. If ignoreStrictCheck is true, we should return null.
try {
$ret = $object->$method(...$arguments);
} catch (\BadMethodCallException $e) {
if ($call && ($ignoreStrictCheck || !$env->isStrictVariables())) {
return;
}
throw $e;
<span id=\"cart-count\" class=\"ns-QuickCart-itemLength js-QuickCart-itemLength\">
";
// line 213
if ((null === twig_get_attribute($this->env, $this->source, twig_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.', 213, $this->source); })()), "session", [], "any", false, false, false, 213), "get", [0 => "number_items"], "method", false, false, false, 213))) {
// line 214
echo " 0
";
} else {
// line 216
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@BDMNicolasFrontend/Products/index.html.twig"));
$this->parent = $this->loadTemplate("@BDMNicolasFrontend/layout.html.twig", "@BDMNicolasFrontend/Products/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
protected function render(string $view, array $parameters = [], Response $response = null): Response
{
if ($this->container->has('templating')) {
@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);
$content = $this->container->get('templating')->render($view, $parameters);
} elseif ($this->container->has('twig')) {
$content = $this->container->get('twig')->render($view, $parameters);
} else {
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".');
}
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
[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:249 at Twig\Template->displayWithErrorHandling() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:390) at Twig\Template->render() (/home/wwwnicolas/public_html/vendor/twig/twig/src/TemplateWrapper.php:45) at Twig\TemplateWrapper->render() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Environment.php:318) at Twig\Environment->render() (/home/wwwnicolas/public_html/vendor/symfony/twig-bundle/Controller/ExceptionController.php:73) at Symfony\Bundle\TwigBundle\Controller\ExceptionController->showAction() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:158) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:80) at Symfony\Component\HttpKernel\HttpKernel->handle() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/EventListener/ExceptionListener.php:61) at Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:264) at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:239) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:73) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:219) at Symfony\Component\HttpKernel\HttpKernel->handleThrowable() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:112) at Symfony\Component\HttpKernel\HttpKernel->terminateWithException() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:129) at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}() (/home/wwwnicolas/public_html/vendor/symfony/error-handler/ErrorHandler.php:601) at Symfony\Component\ErrorHandler\ErrorHandler->handleException() |
[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() (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Session.php:249) at Symfony\Component\HttpFoundation\Session\Session->getBag() (/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() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Extension/CoreExtension.php:1507) at twig_get_attribute() (/home/wwwnicolas/public_html/var/cache/dev/twig/d9/d9efad54e52c4607c6256da54dff2a887f1441c4a050f4a6eb00e1d7781131fc.php:427) at __TwigTemplate_fb55ee29c0ee3268a917a755e4d3f56da6b93f7b8f79b849bd9438388c93a3d1->doDisplay() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:390) at Twig\Template->render() (/home/wwwnicolas/public_html/vendor/twig/twig/src/TemplateWrapper.php:45) at Twig\TemplateWrapper->render() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Environment.php:318) at Twig\Environment->render() (/home/wwwnicolas/public_html/vendor/symfony/twig-bundle/Controller/ExceptionController.php:73) at Symfony\Bundle\TwigBundle\Controller\ExceptionController->showAction() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:158) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:80) at Symfony\Component\HttpKernel\HttpKernel->handle() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/EventListener/ExceptionListener.php:61) at Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:264) at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:239) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:73) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:219) at Symfony\Component\HttpKernel\HttpKernel->handleThrowable() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:112) at Symfony\Component\HttpKernel\HttpKernel->terminateWithException() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:129) at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}() (/home/wwwnicolas/public_html/vendor/symfony/error-handler/ErrorHandler.php:601) at Symfony\Component\ErrorHandler\ErrorHandler->handleException() |
[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:249 at Twig\Template->displayWithErrorHandling() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:390) at Twig\Template->render() (/home/wwwnicolas/public_html/vendor/twig/twig/src/TemplateWrapper.php:45) at Twig\TemplateWrapper->render() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Environment.php:318) at Twig\Environment->render() (/home/wwwnicolas/public_html/vendor/symfony/twig-bundle/Controller/ExceptionController.php:73) at Symfony\Bundle\TwigBundle\Controller\ExceptionController->showAction() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:158) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:80) at Symfony\Component\HttpKernel\HttpKernel->handle() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/EventListener/ExceptionListener.php:61) at Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:264) at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:239) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:73) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:219) at Symfony\Component\HttpKernel\HttpKernel->handleThrowable() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:91) at Symfony\Component\HttpKernel\HttpKernel->handle() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/Kernel.php:201) at Symfony\Component\HttpKernel\Kernel->handle() (/home/wwwnicolas/public_html/public/index.php:31) |
[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() (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Session.php:249) at Symfony\Component\HttpFoundation\Session\Session->getBag() (/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() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Extension/CoreExtension.php:1507) at twig_get_attribute() (/home/wwwnicolas/public_html/var/cache/dev/twig/d9/d9efad54e52c4607c6256da54dff2a887f1441c4a050f4a6eb00e1d7781131fc.php:427) at __TwigTemplate_fb55ee29c0ee3268a917a755e4d3f56da6b93f7b8f79b849bd9438388c93a3d1->doDisplay() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:390) at Twig\Template->render() (/home/wwwnicolas/public_html/vendor/twig/twig/src/TemplateWrapper.php:45) at Twig\TemplateWrapper->render() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Environment.php:318) at Twig\Environment->render() (/home/wwwnicolas/public_html/vendor/symfony/twig-bundle/Controller/ExceptionController.php:73) at Symfony\Bundle\TwigBundle\Controller\ExceptionController->showAction() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:158) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:80) at Symfony\Component\HttpKernel\HttpKernel->handle() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/EventListener/ExceptionListener.php:61) at Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:264) at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:239) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:73) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (/home/wwwnicolas/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:219) at Symfony\Component\HttpKernel\HttpKernel->handleThrowable() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:91) at Symfony\Component\HttpKernel\HttpKernel->handle() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/Kernel.php:201) at Symfony\Component\HttpKernel\Kernel->handle() (/home/wwwnicolas/public_html/public/index.php:31) |
[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:213 at Twig\Template->displayWithErrorHandling() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (/home/wwwnicolas/public_html/var/cache/dev/twig/06/06b0dc94ada9eaa566a0f114f03e5eb16367cd3bb3907d3d1914688de43b5c08.php:354) at __TwigTemplate_aa6266c04f8cfd850b91d6e818114504622ff523ddc8c810ecaecd9fbd73bc8a->doDisplay() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (/home/wwwnicolas/public_html/var/cache/dev/twig/bf/bf5a4cfefc68649966ab34fee73544526712db77887bb3538188104cddede5e4.php:50) at __TwigTemplate_45341e478e21116a1d57588bd7c00ef59e2149700f75249becb52146cd5324f0->doDisplay() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:390) at Twig\Template->render() (/home/wwwnicolas/public_html/vendor/symfony/twig-bridge/TwigEngine.php:54) at Symfony\Bridge\Twig\TwigEngine->render() (/home/wwwnicolas/public_html/vendor/symfony/framework-bundle/Controller/ControllerTrait.php:233) at Symfony\Bundle\FrameworkBundle\Controller\Controller->render() (/home/wwwnicolas/public_html/src/BDM/Nicolas/FrontendBundle/Controller/ProductsController.php:177) at BDM\Nicolas\FrontendBundle\Controller\ProductsController->productsByWeighAction() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:158) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:80) at Symfony\Component\HttpKernel\HttpKernel->handle() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/Kernel.php:201) at Symfony\Component\HttpKernel\Kernel->handle() (/home/wwwnicolas/public_html/public/index.php:31) |
[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() (/home/wwwnicolas/public_html/vendor/symfony/http-foundation/Session/Session.php:249) at Symfony\Component\HttpFoundation\Session\Session->getBag() (/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() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Extension/CoreExtension.php:1507) at twig_get_attribute() (/home/wwwnicolas/public_html/var/cache/dev/twig/dd/ddb4da9ef204fd230b47ff9eae9b4786e56851c27fdc647abe32c012ee8d3a6b.php:355) at __TwigTemplate_dd7fdf5102d45d4692deaa6e033ea06be13709d6c35fc43d0b96289305e4b311->doDisplay() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (/home/wwwnicolas/public_html/var/cache/dev/twig/06/06b0dc94ada9eaa566a0f114f03e5eb16367cd3bb3907d3d1914688de43b5c08.php:354) at __TwigTemplate_aa6266c04f8cfd850b91d6e818114504622ff523ddc8c810ecaecd9fbd73bc8a->doDisplay() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (/home/wwwnicolas/public_html/var/cache/dev/twig/bf/bf5a4cfefc68649966ab34fee73544526712db77887bb3538188104cddede5e4.php:50) at __TwigTemplate_45341e478e21116a1d57588bd7c00ef59e2149700f75249becb52146cd5324f0->doDisplay() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (/home/wwwnicolas/public_html/vendor/twig/twig/src/Template.php:390) at Twig\Template->render() (/home/wwwnicolas/public_html/vendor/symfony/twig-bridge/TwigEngine.php:54) at Symfony\Bridge\Twig\TwigEngine->render() (/home/wwwnicolas/public_html/vendor/symfony/framework-bundle/Controller/ControllerTrait.php:233) at Symfony\Bundle\FrameworkBundle\Controller\Controller->render() (/home/wwwnicolas/public_html/src/BDM/Nicolas/FrontendBundle/Controller/ProductsController.php:177) at BDM\Nicolas\FrontendBundle\Controller\ProductsController->productsByWeighAction() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:158) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/HttpKernel.php:80) at Symfony\Component\HttpKernel\HttpKernel->handle() (/home/wwwnicolas/public_html/vendor/symfony/http-kernel/Kernel.php:201) at Symfony\Component\HttpKernel\Kernel->handle() (/home/wwwnicolas/public_html/public/index.php:31) |