Error 500 Internal Server Error

GET https://admin.webuni.com/fr/admin/comment/batch-approve

Forwarded to ErrorController (939c7e)

CommentCrudController :: batchApprove

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\Admin\CommentCrudController::batchApprove"
_firewall_context
"security.firewall.map.context.main"
_locale
"fr"
_remove_csp_headers
true
_route
"admin_comment_batch_approve"
_route_params
[
  "_locale" => "fr"
  "routeCreatedByEasyAdmin" => true
  "dashboardControllerFqcn" => "App\Controller\Admin\DashboardController"
  "crudControllerFqcn" => "App\Controller\Admin\CommentCrudController"
  "crudAction" => "batchApprove"
]
_security_authenticators
[]
_security_firewall_run
"_security_main"
_security_skipped_authenticators
[]
_stopwatch_token
"39381b"
crudAction
"batchApprove"
crudControllerFqcn
"App\Controller\Admin\CommentCrudController"
dashboardControllerFqcn
"App\Controller\Admin\DashboardController"
easyadmin_context
EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext {#867
  -requestContext: EasyCorp\Bundle\EasyAdminBundle\Context\RequestContext {#873 …}
  -crudContext: EasyCorp\Bundle\EasyAdminBundle\Context\CrudContext {#870 …}
  -dashboardContext: EasyCorp\Bundle\EasyAdminBundle\Context\DashboardContext {#871 …}
  -i18nContext: EasyCorp\Bundle\EasyAdminBundle\Context\I18nContext {#868 …}
}
routeCreatedByEasyAdmin
true

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
host
"admin.webuni.com"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Thu, 12 Mar 2026 15:45:04 GMT"
set-cookie
[
  "main_deauth_profile_token=939c7e; path=/; secure; httponly; samesite=lax"
  "main_auth_profile_token=deleted; expires=Wed, 12 Mar 2025 15:45:03 GMT; Max-Age=0; path=/; httponly"
]
vary
"Accept"
x-debug-exception
"EasyCorp%5CBundle%5CEasyAdminBundle%5CDto%5CBatchActionDto%3A%3A__construct%28%29%3A%20Argument%20%231%20%28%24name%29%20must%20be%20of%20type%20string%2C%20null%20given%2C%20called%20in%20%2Fvar%2Fwww%2Fhtml%2Fadmin.webuni.com%2Fvendor%2Feasycorp%2Feasyadmin-bundle%2Fsrc%2FArgumentResolver%2FBatchActionDtoResolver.php%20on%20line%2031"
x-debug-exception-file
"%2Fvar%2Fwww%2Fhtml%2Fadmin.webuni.com%2Fvendor%2Feasycorp%2Feasyadmin-bundle%2Fsrc%2FDto%2FBatchActionDto.php:16"
x-debug-token
"1e1418"
x-debug-token-link
"https://admin.webuni.com/_profiler/939c7e"
x-previous-debug-token
"939c7e"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

Key Value
main_auth_profile_token
Symfony\Component\HttpFoundation\Cookie {#1323
  #expire: 1
  #path: "/"
  -sameSite: null
  -secureDefault: true
  #name: "main_auth_profile_token"
  #value: null
  #domain: null
  #secure: false
  #httpOnly: true
  -raw: false
  -partitioned: false
}
main_deauth_profile_token
Symfony\Component\HttpFoundation\Cookie {#1312
  #expire: 0
  #path: "/"
  -sameSite: "lax"
  -secureDefault: true
  #name: "main_deauth_profile_token"
  #value: "939c7e"
  #domain: null
  #secure: null
  #httpOnly: true
  -raw: false
  -partitioned: false
}

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:39
[
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 39
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/symfony/security-core/Authorization/AuthorizationChecker.php"
    "line" => 45
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/Security/AuthorizationChecker.php"
    "line" => 30
    "function" => "isGranted"
    "class" => "Symfony\Component\Security\Core\Authorization\AuthorizationChecker"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/Factory/EntityFactory.php"
    "line" => 103
    "function" => "isGranted"
    "class" => "EasyCorp\Bundle\EasyAdminBundle\Security\AuthorizationChecker"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/Factory/EntityFactory.php"
    "line" => 35
    "function" => "doCreate"
    "class" => "EasyCorp\Bundle\EasyAdminBundle\Factory\EntityFactory"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/Factory/AdminContextFactory.php"
    "line" => 266
    "function" => "create"
    "class" => "EasyCorp\Bundle\EasyAdminBundle\Factory\EntityFactory"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/Factory/AdminContextFactory.php"
    "line" => 68
    "function" => "getEntityDto"
    "class" => "EasyCorp\Bundle\EasyAdminBundle\Factory\AdminContextFactory"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/EventListener/AdminRouterSubscriber.php"
    "line" => 89
    "function" => "create"
    "class" => "EasyCorp\Bundle\EasyAdminBundle\Factory\AdminContextFactory"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 115
    "function" => "onKernelRequest"
    "class" => "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 126
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 159
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/symfony/http-kernel/Kernel.php"
    "line" => 191
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/vendor/autoload_runtime.php"
    "line" => 32
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/admin.webuni.com/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/html/admin.webuni.com/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"6d39ac05501b4bcc7aba3882c668377b"
DATABASE_URL
"sqlite:///%kernel.project_dir%/var/data.db"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_PROJECT_DIR
"/var/www/html/admin.webuni.com"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/var/www/html/admin.webuni.com"
]
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/var/www/html/admin.webuni.com/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_HOST
"admin.webuni.com"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"216.73.216.187"
REMOTE_PORT
"65532"
REMOTE_USER
""
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1773330304
REQUEST_TIME_FLOAT
1773330304.0613
REQUEST_URI
"/fr/admin/comment/batch-approve"
SCRIPT_FILENAME
"/var/www/html/admin.webuni.com/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"217.13.105.42"
SERVER_NAME
"admin.webuni.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.24.0"
SYMFONY_DOTENV_PATH
"/var/www/html/admin.webuni.com/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN"
USER
"www-data"

Sub Requests 1

ErrorController (token = 939c7e)

Key Value
_controller
"error_controller"
_stopwatch_token
"48428c"
exception
TypeError {#976
  #message: "EasyCorp\Bundle\EasyAdminBundle\Dto\BatchActionDto::__construct(): Argument #1 ($name) must be of type string, null given, called in /var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/ArgumentResolver/BatchActionDtoResolver.php on line 31"
  #code: 0
  #file: "/var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/Dto/BatchActionDto.php"
  #line: 16
  trace: {
    /var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/Dto/BatchActionDto.php:16 {
      EasyCorp\Bundle\EasyAdminBundle\Dto\BatchActionDto->__construct(string $name, array $entityIds, string $entityFqcn, string $csrfToken) …
      ›  */public function __construct(    private string $name,
    }
    /var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/ArgumentResolver/BatchActionDtoResolver.php:31 {
      EasyCorp\Bundle\EasyAdminBundle\ArgumentResolver\BatchActionDtoResolver->resolve(Request $request, ArgumentMetadata $argument): iterable …
      › 
      › yield new BatchActionDto(    $context->getRequest()->request->get(EA::BATCH_ACTION_NAME),
    }
    /var/www/html/admin.webuni.com/vendor/symfony/http-kernel/Controller/ArgumentResolver/TraceableValueResolver.php:37 {
      Symfony\Component\HttpKernel\Controller\ArgumentResolver\TraceableValueResolver->resolve(Request $request, ArgumentMetadata $argument): iterable …
      › 
      › yield from $this->inner->resolve($request, $argument);}
    /var/www/html/admin.webuni.com/vendor/symfony/http-kernel/Controller/ArgumentResolver.php:91 {
      Symfony\Component\HttpKernel\Controller\ArgumentResolver->getArguments(Request $request, callable $controller, ?ReflectionFunctionAbstract $reflector = null): array …
      › $count = 0;foreach ($resolver->resolve($request, $metadata) as $argument) {    ++$count;
    }
    /var/www/html/admin.webuni.com/vendor/symfony/http-kernel/Controller/TraceableArgumentResolver.php:33 {
      Symfony\Component\HttpKernel\Controller\TraceableArgumentResolver->getArguments(Request $request, callable $controller, ?ReflectionFunctionAbstract $reflector = null): array …
      › try {    return $this->resolver->getArguments($request, $controller, $reflector);} finally {
    }
    /var/www/html/admin.webuni.com/vendor/symfony/http-kernel/HttpKernel.php:175 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // controller arguments$arguments = $this->argumentResolver->getArguments($request, $controller, $event->getControllerReflector());}
    /var/www/html/admin.webuni.com/vendor/symfony/http-kernel/HttpKernel.php:76 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
    }
    /var/www/html/admin.webuni.com/vendor/symfony/http-kernel/Kernel.php:191 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/html/admin.webuni.com/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);}
    /var/www/html/admin.webuni.com/vendor/autoload_runtime.php:32 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/html/admin.webuni.com/public/index.php:5 {
      › 
      › require_once \dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/html/admin.webuni.com/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Processor\DebugProcessor {#97
  -records: [
    2 => [
      [
        "timestamp" => 1773330304
        "timestamp_rfc3339" => "2026-03-12T15:45:04.078+00:00"
        "message" => "Matched route "{route}"."
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "route" => "admin_comment_batch_approve"
          "route_parameters" => [
            "_route" => "admin_comment_batch_approve"
            "_locale" => "fr"
            "_controller" => "App\Controller\Admin\CommentCrudController::batchApprove"
            "routeCreatedByEasyAdmin" => true
            "dashboardControllerFqcn" => "App\Controller\Admin\DashboardController"
            "crudControllerFqcn" => "App\Controller\Admin\CommentCrudController"
            "crudAction" => "batchApprove"
          ]
          "request_uri" => "https://admin.webuni.com/fr/admin/comment/batch-approve"
          "method" => "GET"
        ]
        "channel" => "request"
      ]
      [
        "timestamp" => 1773330304
        "timestamp_rfc3339" => "2026-03-12T15:45:04.079+00:00"
        "message" => "Checking for authenticator support."
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "firewall_name" => "main"
          "authenticators" => 0
        ]
        "channel" => "security"
      ]
      [
        "timestamp" => 1773330304
        "timestamp_rfc3339" => "2026-03-12T15:45:04.088+00:00"
        "message" => "Uncaught PHP Exception TypeError: "EasyCorp\Bundle\EasyAdminBundle\Dto\BatchActionDto::__construct(): Argument #1 ($name) must be of type string, null given, called in /var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/ArgumentResolver/BatchActionDtoResolver.php on line 31" at BatchActionDto.php line 16"
        "priority" => 500
        "priorityName" => "CRITICAL"
        "context" => [
          "exception" => TypeError {#976
            #message: "EasyCorp\Bundle\EasyAdminBundle\Dto\BatchActionDto::__construct(): Argument #1 ($name) must be of type string, null given, called in /var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/ArgumentResolver/BatchActionDtoResolver.php on line 31"
            #code: 0
            #file: "/var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/Dto/BatchActionDto.php"
            #line: 16
            trace: {
              /var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/Dto/BatchActionDto.php:16 {
                EasyCorp\Bundle\EasyAdminBundle\Dto\BatchActionDto->__construct(string $name, array $entityIds, string $entityFqcn, string $csrfToken) …
                ›  */public function __construct(    private string $name,
              }
              /var/www/html/admin.webuni.com/vendor/easycorp/easyadmin-bundle/src/ArgumentResolver/BatchActionDtoResolver.php:31 {
                EasyCorp\Bundle\EasyAdminBundle\ArgumentResolver\BatchActionDtoResolver->resolve(Request $request, ArgumentMetadata $argument): iterable …
                › 
                › yield new BatchActionDto(    $context->getRequest()->request->get(EA::BATCH_ACTION_NAME),
              }
              /var/www/html/admin.webuni.com/vendor/symfony/http-kernel/Controller/ArgumentResolver/TraceableValueResolver.php:37 {
                Symfony\Component\HttpKernel\Controller\ArgumentResolver\TraceableValueResolver->resolve(Request $request, ArgumentMetadata $argument): iterable …
                › 
                › yield from $this->inner->resolve($request, $argument);}
              /var/www/html/admin.webuni.com/vendor/symfony/http-kernel/Controller/ArgumentResolver.php:91 {
                Symfony\Component\HttpKernel\Controller\ArgumentResolver->getArguments(Request $request, callable $controller, ?ReflectionFunctionAbstract $reflector = null): array …
                › $count = 0;foreach ($resolver->resolve($request, $metadata) as $argument) {    ++$count;
              }
              /var/www/html/admin.webuni.com/vendor/symfony/http-kernel/Controller/TraceableArgumentResolver.php:33 {
                Symfony\Component\HttpKernel\Controller\TraceableArgumentResolver->getArguments(Request $request, callable $controller, ?ReflectionFunctionAbstract $reflector = null): array …
                › try {    return $this->resolver->getArguments($request, $controller, $reflector);} finally {
              }
              /var/www/html/admin.webuni.com/vendor/symfony/http-kernel/HttpKernel.php:175 {
                Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
                › // controller arguments$arguments = $this->argumentResolver->getArguments($request, $controller, $event->getControllerReflector());}
              /var/www/html/admin.webuni.com/vendor/symfony/http-kernel/HttpKernel.php:76 {
                Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
                › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
              }
              /var/www/html/admin.webuni.com/vendor/symfony/http-kernel/Kernel.php:191 {
                Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
                › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
              }
              /var/www/html/admin.webuni.com/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
                Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
                › {    $response = $this->kernel->handle($this->request);}
              /var/www/html/admin.webuni.com/vendor/autoload_runtime.php:32 {
                require_once …
                ›         ->getRunner($app)        ->run());
              }
              /var/www/html/admin.webuni.com/public/index.php:5 {
                › 
                › require_once \dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
                  "/var/www/html/admin.webuni.com/vendor/autoload_runtime.php"
                }
              }
            }
          }
        ]
        "channel" => "request"
      ]
    ]
  ]
  -errorCount: [
    2 => 1
  ]
  -requestStack: Symfony\Component\HttpKernel\Debug\VirtualRequestStack {#96 …}
}