Exceptions
Exception
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
in
vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php
(line 107)
if (null === $object && false === $configuration->isOptional()) {
$message = sprintf('%s object not found by the @%s annotation.', $class, $this->getAnnotationName($configuration));
if ($errorMessage) {
$message .= ' '.$errorMessage;
}
throw new NotFoundHttpException($message);
}
$request->attributes->set($name, $object);
return true;
in
vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php
->
applyConverter
(line 48)
in
vendor/sensio/framework-extra-bundle/src/EventListener/ParamConverterListener.php
->
apply
(line 72)
// automatically apply conversion for non-configured objects
if ($this->autoConvert) {
$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 126)
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 264)
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
doDispatch
(line 239)
* @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;
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 73)
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 168)
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 157)
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 81)
{
$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 201)
Logs
Level | Channel | Message |
---|---|---|
INFO 11:00:36 | php |
User Deprecated: YAML mapping driver is deprecated and will be removed in Doctrine ORM 3.0, please migrate to annotation or XML driver. { "exception": {} } |
INFO 11:00:36 | php |
User Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0. { "exception": {} } |
INFO 11:00:36 | php |
User Deprecated: Using Groups is deprecated since version 2.2 and will be removed in 3.0. { "exception": {} } |
INFO 11:00:36 | php |
User Deprecated: The "Harmonizely\Model\UserInterface" interface extends "FOS\UserBundle\Model\UserInterface" that is deprecated since Symfony 4.1. Remove in Nov 2023 (End of support for security fixes SF 4.4). { "exception": {} } |
INFO 11:00:36 | request |
Matched route "_profiler". { "route": "_profiler", "route_parameters": { "_route": "_profiler", "_controller": "web_profiler.controller.profiler::panelAction", "token": "latest" }, "request_uri": "https://simplymeet.marina.d.simplybook.ovh/_profiler/latest", "method": "GET" } |
INFO 11:00:36 | php |
User Deprecated: The "fos_rest.serializer.exception_normalizer.symfony" service is deprecated since FOSRestBundle 2.8. { "exception": {} } |
INFO 11:00:36 | php |
User Deprecated: The FOS\RestBundle\Serializer\Normalizer\ExceptionNormalizer class is deprecated since FOSRestBundle 2.8. { "exception": {} } |
INFO 11:00:36 | request |
Matched route "_profiler_exception_css". { "route": "_profiler_exception_css", "route_parameters": { "_route": "_profiler_exception_css", "_controller": "web_profiler.controller.exception_panel::stylesheet", "token": "7cdfb4" }, "request_uri": "https://simplymeet.marina.d.simplybook.ovh/_profiler/7cdfb4/exception.css", "method": "GET" } |
INFO 11:00:36 | request |
Matched route "_profiler_search_bar". { "route": "_profiler_search_bar", "route_parameters": { "_route": "_profiler_search_bar", "_controller": "web_profiler.controller.profiler::searchBarAction" }, "request_uri": "https://simplymeet.marina.d.simplybook.ovh/_profiler/search_bar", "method": "GET" } |
INFO 11:00:36 | request |
Matched route "_profiler_exception". { "route": "_profiler_exception", "route_parameters": { "_route": "_profiler_exception", "_controller": "web_profiler.controller.exception_panel::body", "token": "7cdfb4" }, "request_uri": "https://simplymeet.marina.d.simplybook.ovh/_profiler/7cdfb4/exception", "method": "GET" } |
Stack Trace
NotFoundHttpException |
---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException: Harmonizely\Model\User object not found by the @Entity annotation. The expression "repository.findOneEnabledBySlug(slug)" returned null at vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:107 at Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->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:126) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (vendor/symfony/event-dispatcher/EventDispatcher.php:264) at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() (vendor/symfony/event-dispatcher/EventDispatcher.php:239) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (vendor/symfony/event-dispatcher/EventDispatcher.php:73) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (vendor/symfony/http-kernel/HttpKernel.php:157) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:81) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:201) at Symfony\Component\HttpKernel\Kernel->handle() (public/index.php:31) |