Project

General

Profile

Actions

Bug #97984

closed

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

Added by Kevin Veldscholten almost 2 years ago. Updated almost 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 #2

Updated by Georg Ringer almost 2 years ago

  • Status changed from New to Closed

closed as duplicate of #97983

Actions #3

Updated by Georg Ringer almost 2 years ago

  • Related to Bug #97983: Reports - Status Report: DateTimeImmutable::__construct() expects parameter 1 to be string, null given added
Actions #4

Updated by Mordamir almost 2 years ago

The problem here is not typo3 itself, its that https://get.typo3.org/api/v1/major/11/release/latest returns a list of all releases, not only the latest.
I dont know who is responsible for the get.typo3.org website.

Actions

Also available in: Atom PDF