Issue Bug Closed

#97984DateTimeImmutable::__construct() expects parameter 1 to be string, null given

Kevin Veldscholten 07/21/22, 08:37 updated 07/21/22, 09:48

Description

As of today, searching for core updates in Installations Tool returns the following error

DateTimeImmutable::__construct() expects parameter 1 to be string, null given

in /typo3_src-10.4.30/typo3/sysext/install/Classes/CoreVersion/CoreRelease.php line 46

    public static function fromApiResponse(array $response): self
    {
        return new self($response['version'], new \DateTimeImmutable($response['date']), $response['type'], $response['tar_package']['sha1sum'], $response['elts'] ?? false);
    }

The error probably affects several TYPO3 installations, so I can rule out that it is only due to one system

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.