Exceptions
Exception
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
$organization = $this->em->getRepository(Organization::class)->findOneBySlug($slug);if (!$organization) {throw new NotFoundHttpException('Organization not found.');}$param = $configuration->getName();$request->attributes->set($param, $organization);
in
vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php
->
apply
(line 84)
return;}foreach ($this->all() as $converter) {if ($converter->supports($configuration)) {if ($converter->apply($request, $configuration)) {return;}}}}
in
vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php
->
applyConverter
(line 48)
if (\is_object($configurations)) {$configurations = [$configurations];}foreach ($configurations as $configuration) {$this->applyConverter($request, $configuration);}}/*** Applies converter on request based on the given configuration.
in
vendor/sensio/framework-extra-bundle/src/EventListener/ParamConverterListener.php
->
apply
(line 72)
}$configurations = $this->autoConfigure($r, $request, $configurations);}$this->manager->apply($request, $configurations);}private function autoConfigure(\ReflectionFunctionAbstract $r, Request $request, $configurations){foreach ($r->getParameters() as $param) {
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelController
(line 118)
$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');try {($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 230)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 59)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 154)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 151)
if (false === $controller = $this->resolver->getController($request)) {throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.', $request->getPathInfo()));}$event = new ControllerEvent($this, $controller, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER);$controller = $event->getController();// controller arguments$arguments = $this->argumentResolver->getArguments($request, $controller);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 75)
{$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);try {return $this->handleRaw($request, $type);} catch (\Exception $e) {if ($e instanceof RequestExceptionInterface) {$e = new BadRequestHttpException($e->getMessage(), $e);}if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
$this->request = $request;}public function run(): int{$response = $this->kernel->handle($this->request);$response->send();if ($this->kernel instanceof TerminableInterface) {$this->kernel->terminate($this->request, $response);}
in
vendor/autoload_runtime.php
->
run
(line 35)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 14:28:38 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "9b0c56"
},
"request_uri": "https://dev.causepilot.com/_profiler/9b0c56",
"method": "GET"
}
|
| DEBUG 14:28:38 | security |
Checking for authenticator support. {
"firewall_name": "main",
"authenticators": 3
}
|
| DEBUG 14:28:38 | security |
Checking support on authenticator. {
"firewall_name": "main",
"authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\FormLoginAuthenticator"
}
|
| DEBUG 14:28:38 | security |
Authenticator does not support the request. {
"firewall_name": "main",
"authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\FormLoginAuthenticator"
}
|
| DEBUG 14:28:38 | security |
Checking support on authenticator. {
"firewall_name": "main",
"authenticator": "HWI\\Bundle\\OAuthBundle\\Security\\Http\\Authenticator\\OAuthAuthenticator"
}
|
| DEBUG 14:28:38 | security |
Authenticator does not support the request. {
"firewall_name": "main",
"authenticator": "HWI\\Bundle\\OAuthBundle\\Security\\Http\\Authenticator\\OAuthAuthenticator"
}
|
| DEBUG 14:28:38 | security |
Checking support on authenticator. {
"firewall_name": "main",
"authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\RememberMeAuthenticator"
}
|
| DEBUG 14:28:38 | security |
Authenticator does not support the request. {
"firewall_name": "main",
"authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\RememberMeAuthenticator"
}
|
| DEBUG 14:28:38 | doctrine | SET time_zone = 'America/Chicago' |
| DEBUG 14:28:38 | doctrine | SET time_zone = 'America/Chicago' |
| DEBUG 14:28:38 | doctrine | SET time_zone = 'America/Chicago' |
| DEBUG 14:28:38 | doctrine | SET time_zone = 'America/Chicago' |
Stack Trace
|
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
Organization not found.
at src/Bidcoz/Bundle/CoreBundle/Request/ParamConverter/OrganizationParamConverter.php:40
at Bidcoz\Bundle\CoreBundle\Request\ParamConverter\OrganizationParamConverter->apply()
(vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:84)
at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->applyConverter()
(vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:48)
at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->apply()
(vendor/sensio/framework-extra-bundle/src/EventListener/ParamConverterListener.php:72)
at Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener->onKernelController()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:151)
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()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:35)
at require_once('/var/www/causepilot/vendor/autoload_runtime.php')
(public/index.php:5)
|