Issue Bug Closed

#98950CommandUtility::$paths must not be accessed before initialization

Stefan Froemken 10/28/22, 20:57 updated 12/06/22, 21:41

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

Reviews 1