Project

General

Profile

Actions

Bug #98950

closed

CommandUtility::$paths must not be accessed before initialization

Added by Stefan Froemken over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2022-10-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello core team,

I just try to upgrade an extension for TYPO3 12. I'm using:

$command = CommandUtility::getCommand('sysctl');

which results in

Typed static property TYPO3\CMS\Core\Utility\CommandUtility::$paths must not be accessed before initialization

in /var/www/html/vendor/typo3/cms-core/Classes/Utility/CommandUtility.php line 311

Stefan

Actions

Also available in: Atom PDF