( ! ) Fatal error: Class App\Controller\Admin\TrainingMemberCrudController contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController::getEntityFqcn) in /home/debian/DEV/sep/src/Controller/Admin/TrainingMemberCrudController.php on line 45
Call Stack
#TimeMemoryFunctionLocation
10.0000356776{main}( ).../index.php:0
20.0000357272require_once( '/home/debian/DEV/sep/vendor/autoload_runtime.php ).../index.php:5
30.0008441808Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run( ).../autoload_runtime.php:29
40.0008441808Symfony\Component\HttpKernel\Kernel->handle( $request = class Symfony\Component\HttpFoundation\Request { public $attributes = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\Component\HttpFoundation\InputBag { protected $parameters = [...] }; public $query = class Symfony\Component\HttpFoundation\InputBag { protected $parameters = [...] }; public $server = class Symfony\Component\HttpFoundation\ServerBag { protected $parameters = [...] }; public $files = class Symfony\Component\HttpFoundation\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\Component\HttpFoundation\InputBag { protected $parameters = [...] }; public $headers = class Symfony\Component\HttpFoundation\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = NULL; protected $requestUri = NULL; protected $baseUrl = NULL; protected $basePath = NULL; protected $method = NULL; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en'; private ?string $preferredFormat = NULL; private bool $isHostValid = TRUE; private bool $isForwardedValid = TRUE; private bool $isSafeContentPreferred = *uninitialized*; private array $trustedValuesCache = []; private $isIisRewrite = FALSE }, $type = ???, $catch = ??? ).../HttpKernelRunner.php:35
50.0008441808Symfony\Component\HttpKernel\Kernel->preBoot( ).../Kernel.php:185
60.0014463976Symfony\Component\HttpKernel\Kernel->initializeContainer( ).../Kernel.php:771
70.00531841008Symfony\Component\Config\ConfigCache->isFresh( ).../Kernel.php:414
80.00531841008Symfony\Component\Config\ResourceCheckerConfigCache->isFresh( ).../ConfigCache.php:58
90.00612024296Symfony\Component\Config\Resource\SelfCheckingResourceChecker->isFresh( $resource = class Symfony\Component\Config\Resource\ReflectionClassResource { private array $files = ['/home/debian/DEV/sep/src/Controller/Admin/TrainingMemberCrudController.php' => NULL]; private string $className = 'App\\Controller\\Admin\\TrainingMemberCrudController'; private ReflectionClass $classReflector = *uninitialized*; private array $excludedVendors = []; private string $hash = 'c8afe72ef59bed1418e07d40363580ff' }, $timestamp = 1774007279 ).../ResourceCheckerConfigCache.php:90
100.00612024392Symfony\Component\Config\Resource\ReflectionClassResource->isFresh( $timestamp = 1774007279 ).../SelfCheckingResourceChecker.php:44
110.00612024392Symfony\Component\Config\Resource\ReflectionClassResource->computeHash( ).../ReflectionClassResource.php:51
120.00612024488__construct( $objectOrClass = 'App\\Controller\\Admin\\TrainingMemberCrudController' ).../ReflectionClassResource.php:103
130.00612024608Symfony\Component\ErrorHandler\DebugClassLoader->loadClass( $class = 'App\\Controller\\Admin\\TrainingMemberCrudController' ).../ReflectionClassResource.php:103
140.00622049016include( '/home/debian/DEV/sep/src/Controller/Admin/TrainingMemberCrudController.php ).../DebugClassLoader.php:298
Error: Class App\Controller\Admin\TrainingMemberCrudController contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController::getEntityFqcn) (500 Internal Server Error)

Symfony Exception

FatalError

HTTP 500 Internal Server Error

Error: Class App\Controller\Admin\TrainingMemberCrudController contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController::getEntityFqcn)

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

Show exception properties
Symfony\Component\ErrorHandler\Error\FatalError {#52
  -error: array:4 [
    "type" => 1
    "message" => "Class App\Controller\Admin\TrainingMemberCrudController contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController::getEntityFqcn)"
    "file" => "/home/debian/DEV/sep/src/Controller/Admin/TrainingMemberCrudController.php"
    "line" => 45
  ]
}
  1. use EasyCorp\Bundle\EasyAdminBundle\Collection\FieldCollection;
  2. use EasyCorp\Bundle\EasyAdminBundle\Collection\FilterCollection;
  3. use EasyCorp\Bundle\EasyAdminBundle\Orm\EntityRepository;
  4. #[IsGranted('ROLE_ADMIN_EVENT')]
  5. class TrainingMemberCrudController extends AbstractCrudController
  6. {
  7.     public function __construct(MailerInterface $mailer)
  8.     {
  9.         $this->mailer $mailer;
  10.     }
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Error: Class App\Controller\Admin\TrainingMemberCrudController contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController::getEntityFqcn)

  at /home/debian/DEV/sep/src/Controller/Admin/TrainingMemberCrudController.php:45
  at {main}()