https://www.hephaestos.net/en/taxons/dmx-hf-senders?limit=18&sorting%5BcreatedAt%5D=asc

Exceptions

Requested page is invalid.

Exception

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

  1. *
  2. * @return mixed
  3. */
  4. function ($arguments, $result) {
  5. if (null === $result) {
  6. throw new NotFoundHttpException('Requested page is invalid.');
  7. }
  8. return $result;
  9. },
  10. ),
in vendor/symfony/expression-language/Node/FunctionNode.php -> Sylius\Bundle\ResourceBundle\ExpressionLanguage\{closure} (line 50)
  1. $arguments = [$values];
  2. foreach ($this->nodes['arguments']->nodes as $node) {
  3. $arguments[] = $node->evaluate($functions, $values);
  4. }
  5. return $functions[$this->attributes['name']]['evaluator'](...$arguments);
  6. }
  7. public function toArray()
  8. {
  9. $array = [];
  1. *
  2. * @return mixed
  3. */
  4. public function evaluate($expression, array $values = [])
  5. {
  6. return $this->parse($expression, array_keys($values))->getNodes()->evaluate($this->functions, $values);
  7. }
  8. /**
  9. * Parses an expression.
  10. *
  1. return is_string($variable) ? sprintf('"%s"', addslashes($variable)) : $variable;
  2. },
  3. $expression,
  4. );
  5. return $this->expression->evaluate($expression, ['container' => $this->container]);
  6. }
  7. /** @return mixed */
  8. private function parseRequestValueTypecast(string $parameter, Request $request)
  9. {
  1. if (0 === strpos($parameter, '$')) {
  2. return RequestParameterProvider::provide($request, substr($parameter, 1));
  3. }
  4. if (0 === strpos($parameter, 'expr:')) {
  5. return $this->parseRequestValueExpression(substr($parameter, 5), $request);
  6. }
  7. if (0 === strpos($parameter, '!!')) {
  8. return $this->parseRequestValueTypecast($parameter, $request);
  9. }
  1. function ($parameter) use ($request) {
  2. if (is_array($parameter)) {
  3. return $this->parseRequestValues($parameter, $request);
  4. }
  5. return $this->parseRequestValue($parameter, $request);
  6. },
  7. $parameters,
  8. );
  9. }
ParametersParser->Sylius\Bundle\ResourceBundle\Controller\{closure}()
  1. $this->expression = $expression;
  2. }
  3. public function parseRequestValues(array $parameters, Request $request): array
  4. {
  5. return array_map(
  6. /**
  7. * @param mixed $parameter
  8. *
  9. * @return mixed
  10. */
  1. *
  2. * @return mixed
  3. */
  4. function ($parameter) use ($request) {
  5. if (is_array($parameter)) {
  6. return $this->parseRequestValues($parameter, $request);
  7. }
  8. return $this->parseRequestValue($parameter, $request);
  9. },
  10. $parameters,
ParametersParser->Sylius\Bundle\ResourceBundle\Controller\{closure}()
  1. $this->expression = $expression;
  2. }
  3. public function parseRequestValues(array $parameters, Request $request): array
  4. {
  5. return array_map(
  6. /**
  7. * @param mixed $parameter
  8. *
  9. * @return mixed
  10. */
  1. *
  2. * @return mixed
  3. */
  4. function ($parameter) use ($request) {
  5. if (is_array($parameter)) {
  6. return $this->parseRequestValues($parameter, $request);
  7. }
  8. return $this->parseRequestValue($parameter, $request);
  9. },
  10. $parameters,
ParametersParser->Sylius\Bundle\ResourceBundle\Controller\{closure}()
  1. $this->expression = $expression;
  2. }
  3. public function parseRequestValues(array $parameters, Request $request): array
  4. {
  5. return array_map(
  6. /**
  7. * @param mixed $parameter
  8. *
  9. * @return mixed
  10. */
  1. RequestConfiguration $requestConfiguration,
  2. ): ResourceGridView {
  3. $driverConfiguration = $grid->getDriverConfiguration();
  4. $request = $requestConfiguration->getRequest();
  5. $grid->setDriverConfiguration($this->parametersParser->parseRequestValues($driverConfiguration, $request));
  6. return new ResourceGridView($this->dataProvider->getData($grid, $parameters), $grid, $parameters, $metadata, $requestConfiguration);
  7. }
  8. }
  1. $gridDefinition = $this->gridProvider->get($requestConfiguration->getGrid());
  2. $request = $requestConfiguration->getRequest();
  3. $parameters = new Parameters($request->query->all());
  4. $gridView = $this->gridViewFactory->create($gridDefinition, $parameters, $requestConfiguration->getMetadata(), $requestConfiguration);
  5. if ($requestConfiguration->isHtmlRequest()) {
  6. return $gridView;
  7. }
  1. /**
  2. * @psalm-suppress MissingReturnType
  3. */
  4. public function get(RequestConfiguration $requestConfiguration, RepositoryInterface $repository)
  5. {
  6. $resources = $this->resourcesResolver->getResources($requestConfiguration, $repository);
  7. $paginationLimits = [];
  8. if ($resources instanceof ResourceGridView) {
  9. $paginator = $resources->getData();
  10. $paginationLimits = $resources->getDefinition()->getLimits();
  1. public function indexAction(Request $request): Response
  2. {
  3. $configuration = $this->requestConfigurationFactory->create($this->metadata, $request);
  4. $this->isGrantedOr403($configuration, ResourceActions::INDEX);
  5. $resources = $this->resourcesCollectionProvider->get($configuration, $this->repository);
  6. $event = $this->eventDispatcher->dispatchMultiple(ResourceActions::INDEX, $configuration, $resources);
  7. $eventResponse = $event->getResponse();
  8. if (null !== $eventResponse) {
  9. return $eventResponse;
in vendor/symfony/http-kernel/HttpKernel.php -> indexAction (line 163)
  1. $this->dispatcher->dispatch($event, KernelEvents::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($event, KernelEvents::VIEW);
  1. {
  2. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3. $this->requestStack->push($request);
  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() in public/index.php (line 25)
  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);

Logs

No log messages

Stack Trace

NotFoundHttpException
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
Requested page is invalid.

  at vendor/sylius/resource-bundle/src/Bundle/ExpressionLanguage/NotNullExpressionFunctionProvider.php:41
  at Sylius\Bundle\ResourceBundle\ExpressionLanguage\NotNullExpressionFunctionProvider->Sylius\Bundle\ResourceBundle\ExpressionLanguage\{closure}()
     (vendor/symfony/expression-language/Node/FunctionNode.php:50)
  at Symfony\Component\ExpressionLanguage\Node\FunctionNode->evaluate()
     (vendor/symfony/expression-language/ExpressionLanguage.php:67)
  at Symfony\Component\ExpressionLanguage\ExpressionLanguage->evaluate()
     (vendor/sylius/resource-bundle/src/Bundle/Controller/ParametersParser.php:103)
  at Sylius\Bundle\ResourceBundle\Controller\ParametersParser->parseRequestValueExpression()
     (vendor/sylius/resource-bundle/src/Bundle/Controller/ParametersParser.php:69)
  at Sylius\Bundle\ResourceBundle\Controller\ParametersParser->parseRequestValue()
     (vendor/sylius/resource-bundle/src/Bundle/Controller/ParametersParser.php:47)
  at Sylius\Bundle\ResourceBundle\Controller\ParametersParser->Sylius\Bundle\ResourceBundle\Controller\{closure}()
  at array_map()
     (vendor/sylius/resource-bundle/src/Bundle/Controller/ParametersParser.php:36)
  at Sylius\Bundle\ResourceBundle\Controller\ParametersParser->parseRequestValues()
     (vendor/sylius/resource-bundle/src/Bundle/Controller/ParametersParser.php:44)
  at Sylius\Bundle\ResourceBundle\Controller\ParametersParser->Sylius\Bundle\ResourceBundle\Controller\{closure}()
  at array_map()
     (vendor/sylius/resource-bundle/src/Bundle/Controller/ParametersParser.php:36)
  at Sylius\Bundle\ResourceBundle\Controller\ParametersParser->parseRequestValues()
     (vendor/sylius/resource-bundle/src/Bundle/Controller/ParametersParser.php:44)
  at Sylius\Bundle\ResourceBundle\Controller\ParametersParser->Sylius\Bundle\ResourceBundle\Controller\{closure}()
  at array_map()
     (vendor/sylius/resource-bundle/src/Bundle/Controller/ParametersParser.php:36)
  at Sylius\Bundle\ResourceBundle\Controller\ParametersParser->parseRequestValues()
     (vendor/sylius/resource-bundle/src/Bundle/Grid/View/ResourceGridViewFactory.php:44)
  at Sylius\Bundle\ResourceBundle\Grid\View\ResourceGridViewFactory->create()
     (vendor/sylius/resource-bundle/src/Bundle/Grid/Controller/ResourcesResolver.php:55)
  at Sylius\Bundle\ResourceBundle\Grid\Controller\ResourcesResolver->getResources()
     (vendor/sylius/resource-bundle/src/Bundle/Controller/ResourcesCollectionProvider.php:39)
  at Sylius\Bundle\ResourceBundle\Controller\ResourcesCollectionProvider->get()
     (vendor/sylius/resource-bundle/src/Bundle/Controller/ResourceController.php:142)
  at Sylius\Bundle\ResourceBundle\Controller\ResourceController->indexAction()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:25)