Actions
Bug #98950
closedCommandUtility::$paths must not be accessed before initialization
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