Error 404 Not Found

GET https://yackr.io/admin/wall/01a150b9-e56e-7a2a-a039-41677fc47dad?amp=&page%253D1%3D=

Exceptions

EntityNotFoundException

The "App\Entity\Wall" entity with "id = 01a150b9-e56e-7a2a-a039-41677fc47dad" does not exist in the database. The entity may have been deleted by mistake or by a "cascade={"remove"}" operation executed by Doctrine.

HTTP 404 Not Found

Stack Trace

{
$entityManager = $this->getEntityManager($entityFqcn);
if (null === $entityInstance = $entityManager->getRepository($entityFqcn)->find($entityIdValue)) {
$entityIdName = $entityManager->getClassMetadata($entityFqcn)->getIdentifierFieldNames()[0];
throw new EntityNotFoundException(['entity_name' => $entityFqcn, 'entity_id_name' => $entityIdName, 'entity_id_value' => $entityIdValue]);
}
return $entityInstance;
}
EntityFactory->getEntityInstance() in vendor/easycorp/easyadmin-bundle/src/Factory/EntityFactory.php (line 90)
* @param class-string|null $entityFqcn
*/
private function doCreate(?string $entityFqcn = null, mixed $entityId = null, string|Expression|null $entityPermission = null, ?object $entityInstance = null): EntityDto
{
if (null === $entityInstance && null !== $entityFqcn) {
$entityInstance = null === $entityId ? null : $this->getEntityInstance($entityFqcn, $entityId);
}
if (null !== $entityInstance && null === $entityFqcn) {
if ($entityInstance instanceof Proxy) {
$entityInstance->__load();
/**
* @param class-string $entityFqcn
*/
public function create(string $entityFqcn, mixed $entityId = null, string|Expression|null $entityPermission = null): EntityDto
{
return $this->doCreate($entityFqcn, $entityId, $entityPermission);
}
public function createForEntityInstance(object $entityInstance): EntityDto
{
return $this->doCreate(null, null, null, $entityInstance);
return null;
}
$entityId = EntityIdReader::fromRequest($request);
return $this->entityFactory->create($crudDto->getEntityFqcn(), $entityId, $crudDto->getEntityPermission());
}
}
AdminContextFactory->getEntityDto() in vendor/easycorp/easyadmin-bundle/src/Factory/AdminContextFactory.php (line 68)
$filters = $this->getFilters($dashboardController, $crudController);
// build a first version of CrudDto without actions so we can create AdminContext, which is
// needed for action extensions; later, we'll update the CrudDto object with the full action config
$crudDto = $this->getCrudDto($this->adminControllers, $dashboardController, $crudController, new ActionConfigDto(), $filters, $crudAction, $pageName);
$entityDto = $this->getEntityDto($request, $crudDto);
$searchDto = $this->getSearchDto($request, $crudDto);
$i18nDto = $this->getI18nDto($request, $dashboardDto, $crudDto, $entityDto);
$templateRegistry = $this->getTemplateRegistry($dashboardController, $crudDto);
$user = $this->getUser($this->tokenStorage);
$actionName = $request->attributes->get(EA::CRUD_ACTION);
$crudControllerInstance = $this->controllerFactory->getCrudControllerInstance($crudControllerFqcn, $actionName, $request);
try {
$adminContext = $this->adminContextFactory->create($request, $dashboardControllerInstance, $crudControllerInstance, $actionName);
} catch (BaseException $e) {
// if context creation fails (e.g. entity not found), create a context
// without the entity so the ExceptionListener can still render the
// EasyAdmin error page with the proper layout. To prevent the entity from
// being loaded again, the entity ID must be removed from everywhere it can be
AdminRouterSubscriber->onKernelRequest() in vendor/symfony/event-dispatcher/Debug/WrappedListener.php (line 122)
$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();
}
}
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
} finally {
if ($e->isStarted()) {
$e->stop();
}
TraceableEventDispatcher->dispatch() in vendor/symfony/http-kernel/HttpKernel.php (line 174)
*/
private function handleRaw(Request $request, int $type = self::MAIN_REQUEST, ?ControllerMetadata &$controllerMetadata = null): Response
{
// request
$event = new RequestEvent($this, $request, $type);
$this->dispatcher->dispatch($event, KernelEvents::REQUEST);
if ($event->hasResponse()) {
return $this->filterResponse($event->getResponse(), $request, $type);
}
HttpKernel->handleRaw() in vendor/symfony/http-kernel/HttpKernel.php (line 80)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
$this->requestStack->push($request);
$response = null;
try {
return $response = $this->handleRaw($request, $type, $controllerMetadata);
} catch (\Throwable $e) {
if ($e instanceof \Error && !$this->handleAllThrowables) {
throw $e;
}
HttpKernel->handle() in vendor/symfony/http-kernel/Kernel.php (line 156)
if (!$this->handlingHttpCache) {
$this->resetServices = true;
}
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
) {
}
public function run(): int
{
$response = $this->kernel->handle($this->request);
$response->send(false);
if (\function_exists('fastcgi_finish_request') && !$this->debug) {
fastcgi_finish_request();
HttpKernelRunner->run() in vendor/autoload_runtime.php (line 32)
$app = $app(...$args);
exit(
$runtime
->getRunner($app)
->run()
);
require_once('/var/www/html/webapp/vendor/autoload_runtime.php') in public/index.php (line 5)
<?php
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return static function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};