Error 500 Internal Server Error

GET https://dev.wunschliefertag.de/run/CalendarCreate/655710ee9f028d29f57fd4ba9711d00a90f1f6eeb75c34f2c9

ErrorController

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"b4815e"
exception
ValueError {#60956
  #message: "easter_date(): Argument #1 ($year) must be between 1970 and 2037 (inclusive)"
  #code: 0
  #file: "/var/www/revision/dev/v05.00.0750/src/Entity/Holiday.php"
  #line: 149
  trace: {
    /var/www/revision/dev/v05.00.0750/src/Entity/Holiday.php:149 {
      App\Entity\Holiday->getEasterDay(int $year): int …
      › if (!array_key_exists($year, $easter))    $easter[$year] = easter_date($year);return $easter[$year];
    }
    /var/www/revision/dev/v05.00.0750/src/Entity/Holiday.php:190 {
      App\Entity\Holiday->getTs(int $year): int …
      ›     //depending on easter day    $value[$this->getId()][$year] = strtotime($matches[1] . ' days', $this->getEasterDay($year));} elseif (preg_match('#^p([+-]\d*)$#', $this->getFormula(), $matches)) {
    }
    /var/www/revision/dev/v05.00.0750/src/Entity/Depot.php:593 {
      App\Entity\Depot->isHoliday(DateTime $dt): bool …
      › foreach ($this->holidays as $one)    if (date('Ymd', $one->getTs($year)) === $dt->format('Ymd'))        return true;
    }
    /var/www/revision/dev/v05.00.0750/src/Entity/Tour.php:205 {
      App\Entity\Tour->isPreDayValid(?DateTimeInterface $planningDate) …
      › $wd = $date->format('N');if (($depot->isHoliday($date) && $depot->getSettingByName('day_pre_ho'))    || ($wd == 1 && $depot->getSettingByName('day_pre_mo') == 1)
    }
    /var/www/revision/dev/v05.00.0750/src/Job/CalendarCreate.php:218 {
      App\Job\CalendarCreate->run(): string …
      › foreach ($rela->getTours() as $tour) {    if ($tour->isPreDayValid($date)) {        $this->createTour($knownTours, $toPlan[$rela->getId()], $depot, $tour, $date);
    }
    /var/www/revision/dev/v05.00.0750/src/Controller/RunController.php:100 {
      App\Controller\RunController->run(EntityManagerInterface $em, JobService $jobService, string $taskName, string $hash, LoggerInterface $logger): Response …
      ›     && (($job->getEnabled() && $job->getEntity()->getHash() == $hash) || $hash == "tryIt")) {    $job->prepareRun()->run();}
    }
    /var/www/revision/dev/v05.00.0750/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/revision/dev/v05.00.0750/vendor/symfony/http-kernel/HttpKernel.php:74 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->handleRaw($request, $type);} catch (\Throwable $e) {
    }
    /var/www/revision/dev/v05.00.0750/vendor/symfony/http-kernel/Kernel.php:184 {
      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/revision/dev/v05.00.0750/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/revision/dev/v05.00.0750/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/revision/dev/v05.00.0750/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {
      arguments: {
        "/var/www/revision/dev/v05.00.0750/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#290 …9}

Request Headers

Header Value
accept
"*/*"
host
"dev.wunschliefertag.de"
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
"Sat, 05 Apr 2025 00:56:09 GMT"
x-debug-exception
"easter_date%28%29%3A%20Argument%20%231%20%28%24year%29%20must%20be%20between%201970%20and%202037%20%28inclusive%29"
x-debug-exception-file
"%2Fvar%2Fwww%2Frevision%2Fdev%2Fv05.00.0750%2Fsrc%2FEntity%2FHoliday.php:149"
x-debug-token
"c1ada1"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

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:41
[
  [
    "file" => "/var/www/revision/dev/v05.00.0750/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 41
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/vendor/symfony/security-core/Security.php"
    "line" => 78
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/vendor/symfony/security-core/Security.php"
    "line" => 60
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Security"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/src/Service/DepotLimitService.php"
    "line" => 19
    "function" => "getUser"
    "class" => "Symfony\Component\Security\Core\Security"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/var/cache/dev/ContainerSx8xuza/App_KernelDevDebugContainer.php"
    "line" => 1330
    "function" => "__construct"
    "class" => "App\Service\DepotLimitService"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/var/cache/dev/ContainerSx8xuza/App_KernelDevDebugContainer.php"
    "line" => 1293
    "function" => "getDepotLimitServiceService"
    "class" => "ContainerSx8xuza\App_KernelDevDebugContainer"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/var/cache/dev/ContainerSx8xuza/App_KernelDevDebugContainer.php"
    "line" => 1267
    "function" => "getDepotRepositoryService"
    "class" => "ContainerSx8xuza\App_KernelDevDebugContainer"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/var/cache/dev/ContainerSx8xuza/App_KernelDevDebugContainer.php"
    "line" => 930
    "function" => "getMenuSubscriberService"
    "class" => "ContainerSx8xuza\App_KernelDevDebugContainer"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 221
    "function" => "ContainerSx8xuza\{closure}"
    "class" => "ContainerSx8xuza\App_KernelDevDebugContainer"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 70
    "function" => "sortListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 257
    "function" => "getListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 121
    "function" => "preProcess"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 151
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/vendor/symfony/http-kernel/Kernel.php"
    "line" => 184
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/revision/dev/v05.00.0750/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/revision/dev/v05.00.0750/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"655c01ae6e254a9faa6960d94711b950"
DATABASE_URL
"mysql://fbusch:L~(R[0X4!UQ5AIT6@80.158.50.170:3306/wlt5_dev?serverVersion=8.0.21-2&charset=utf8"
LOCK_DSN
"flock"
WLT_MESSAGING_APP
"wlt_dev"
WLT_MESSAGING_URL
"https://inout.wunschliefertag.de/messaging/store"
WLT_MSG_FAX_PASS
"cYD3fN!4NHBB02A56j1?UE8h"
WLT_MSG_FAX_SENDER
"Wunschliefertag"
WLT_MSG_FAX_URL
"https://api.wunschliefertag.de/i952"
WLT_MSG_FAX_USER
"wltrel5"
WLT_MSG_FAX_WLTINT
"02133215088"
WLT_MSG_MAIL_PASS
"cYD3fN!4NHBB02A56j1?UE8h"
WLT_MSG_MAIL_SENDER
"service@wunschliefertag.de"
WLT_MSG_MAIL_URL
"https://api.wunschliefertag.de/i952"
WLT_MSG_MAIL_USER
"wltrel5"
WLT_MSG_MAIL_WLTINT
"fbusch@infi-sol.de"
WLT_MSG_SMS_PASS
"cYD3fN!4NHBB02A56j1?UE8h"
WLT_MSG_SMS_SENDER
"Lieferavis"
WLT_MSG_SMS_URL
"https://api.wunschliefertag.de/i950"
WLT_MSG_SMS_USER
"wltrel5"
WLT_MSG_SMS_WLTINT
"491777215087"
WLT_STORAGE_APP
"wlt_test"
WLT_STORAGE_BASE
"storage.wunschliefertag.de"

Defined as regular env variables

Key Value
CONTEXT_DOCUMENT_ROOT
"/var/www/dev/html"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/dev/html"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"dev.wunschliefertag.de"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"dev.wunschliefertag.de"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/run/CalendarCreate/655710ee9f028d29f57fd4ba9711d00a90f1f6eeb75c34f2c9"
REMOTE_ADDR
"80.158.57.161"
REMOTE_PORT
"60516"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1743814561
REQUEST_TIME_FLOAT
1743814561.7537
REQUEST_URI
"/run/CalendarCreate/655710ee9f028d29f57fd4ba9711d00a90f1f6eeb75c34f2c9"
SCRIPT_FILENAME
"/var/www/dev/html/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.16.0.5"
SERVER_ADMIN
"webmaster@wunschliefertag.de"
SERVER_NAME
"dev.wunschliefertag.de"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.62 (Debian) Server at dev.wunschliefertag.de Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.62 (Debian)"
SSL_CIPHER
"TLS_AES_256_GCM_SHA384"
SSL_CIPHER_ALGKEYSIZE
"256"
SSL_CIPHER_EXPORT
"false"
SSL_CIPHER_USEKEYSIZE
"256"
SSL_CLIENT_VERIFY
"NONE"
SSL_COMPRESS_METHOD
"NULL"
SSL_PROTOCOL
"TLSv1.3"
SSL_SECURE_RENEG
"true"
SSL_SERVER_A_KEY
"rsaEncryption"
SSL_SERVER_A_SIG
"sha256WithRSAEncryption"
SSL_SERVER_I_DN
"CN=R10,O=Let's Encrypt,C=US"
SSL_SERVER_I_DN_C
"US"
SSL_SERVER_I_DN_CN
"R10"
SSL_SERVER_I_DN_O
"Let's Encrypt"
SSL_SERVER_M_SERIAL
"040F241F402E8D092938A3BC8E6833BA5073"
SSL_SERVER_M_VERSION
"3"
SSL_SERVER_SAN_DNS_0
"dev.wunschliefertag.de"
SSL_SERVER_S_DN
"CN=dev.wunschliefertag.de"
SSL_SERVER_S_DN_CN
"dev.wunschliefertag.de"
SSL_SERVER_V_END
"May  9 06:39:46 2025 GMT"
SSL_SERVER_V_START
"Feb  8 06:39:47 2025 GMT"
SSL_SESSION_ID
"acea4b74e754f40ed656015b51b3cbecdc5b76e3644c06bf0216c74543bb85e3"
SSL_SESSION_RESUMED
"Initial"
SSL_TLS_SNI
"dev.wunschliefertag.de"
SSL_VERSION_INTERFACE
"mod_ssl/2.4.62"
SSL_VERSION_LIBRARY
"OpenSSL/3.0.15"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,APP_DEBUG,DATABASE_URL,LOCK_DSN,WLT_MESSAGING_APP,WLT_MESSAGING_URL,WLT_MSG_SMS_URL,WLT_MSG_SMS_SENDER,WLT_MSG_SMS_USER,WLT_MSG_SMS_PASS,WLT_MSG_SMS_WLTINT,WLT_MSG_MAIL_URL,WLT_MSG_MAIL_SENDER,WLT_MSG_MAIL_USER,WLT_MSG_MAIL_PASS,WLT_MSG_MAIL_WLTINT,WLT_MSG_FAX_URL,WLT_MSG_FAX_SENDER,WLT_MSG_FAX_USER,WLT_MSG_FAX_PASS,WLT_MSG_FAX_WLTINT,WLT_STORAGE_BASE,WLT_STORAGE_APP"

Parent Request

Return to parent request (token = 083cbb)

Key Value
_controller
"App\Controller\RunController::run"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"jobRun"
_route_params
[
  "taskName" => "CalendarCreate"
  "hash" => "655710ee9f028d29f57fd4ba9711d00a90f1f6eeb75c34f2c9"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"d50b59"
hash
"655710ee9f028d29f57fd4ba9711d00a90f1f6eeb75c34f2c9"
taskName
"CalendarCreate"