Project

General

Profile

Actions

Bug #97984

closed

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

Added by Kevin Veldscholten over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2022-07-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Files

Zwischenablage02.jpg (138 KB) Zwischenablage02.jpg Kevin Veldscholten, 2022-07-21 08:50

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #97983: Reports - Status Report: DateTimeImmutable::__construct() expects parameter 1 to be string, null givenClosed2022-07-21

Actions
Actions

Also available in: Atom PDF