Exceptions
Exception
Error
->setSearchFields(['sku', 'namespace', 'key', 'value', 'displayName'])->setDefaultSort(['createdAt' => 'DESC'])->setPaginatorPageSize(50)->showEntityActionsInlined()// Modal Forms for better UX->setEditPageMode(Crud::EDIT_PAGE_MODAL)->setNewPageMode(Crud::NEW_PAGE_MODAL)// Performance Optimizations->setPaginatorUseOutputWalkers(false)->setPaginatorFetchJoinCollection(false);}
in
vendor/easycorp/easyadmin-bundle/src/Factory/AdminContextFactory.php
->
configureCrud
(line 150)
if (null === $crudController) {return null;}$defaultCrud = $dashboardController->configureCrud();$crudDto = $crudController->configureCrud($defaultCrud)->getAsDto();$entityFqcn = $crudControllers->findEntityFqcnByCrudFqcn($crudController::class);$crudDto->setControllerFqcn($crudController::class);$crudDto->setActionsConfig($actionConfigDto);
in
vendor/easycorp/easyadmin-bundle/src/Factory/AdminContextFactory.php
->
getCrudDto
(line 65)
$filters = $this->getFilters($dashboardController, $crudController);$user = $this->getUser($this->tokenStorage);// 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->crudControllers, $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);$usePrettyUrls = $this->adminRouteGenerator->usesPrettyUrls();
in
vendor/easycorp/easyadmin-bundle/src/EventListener/AdminRouterSubscriber.php
->
create
(line 132)
if (null === $adminContext = $request->attributes->get(EA::CONTEXT_REQUEST_ATTRIBUTE)) {$crudControllerFqcn = $request->attributes->get(EA::CRUD_CONTROLLER_FQCN);$actionName = $request->attributes->get(EA::CRUD_ACTION);$crudControllerInstance = $this->controllerFactory->getCrudControllerInstance($crudControllerFqcn, $actionName, $request);$adminContext = $this->adminContextFactory->create($request, $dashboardControllerInstance, $crudControllerInstance, $actionName);}$request->attributes->set(EA::CONTEXT_REQUEST_ATTRIBUTE, $adminContext);$this->requestAlreadyProcessedAsPrettyUrl = true;}
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelRequestPrettyUrls
(line 115)
$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 206)
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 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 126)
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 159)
*/private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response{// request$event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 191)
if (!$this->handlingHttpCache) {$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)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/home/manage/htdocs/manage.syberinfo.com.au/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?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 20:46:12 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "995bcd"
},
"request_uri": "https://manage.syberinfo.com.au/_profiler/995bcd",
"method": "GET"
}
|
Stack Trace
|
Error
|
|---|
Error:
Call to undefined method EasyCorp\Bundle\EasyAdminBundle\Config\Crud::setEditPageMode()
at src/Controller/Admin/ProductMetafieldCrudController.php:49
at App\Controller\Admin\ProductMetafieldCrudController->configureCrud()
(vendor/easycorp/easyadmin-bundle/src/Factory/AdminContextFactory.php:150)
at EasyCorp\Bundle\EasyAdminBundle\Factory\AdminContextFactory->getCrudDto()
(vendor/easycorp/easyadmin-bundle/src/Factory/AdminContextFactory.php:65)
at EasyCorp\Bundle\EasyAdminBundle\Factory\AdminContextFactory->create()
(vendor/easycorp/easyadmin-bundle/src/EventListener/AdminRouterSubscriber.php:132)
at EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber->onKernelRequestPrettyUrls()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:159)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:191)
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:32)
at require_once('/home/manage/htdocs/manage.syberinfo.com.au/vendor/autoload_runtime.php')
(public/index.php:5)
|