The function getPackageType() does not exist in TYPO3 10.4
getPackageType()
https://gitlab.sgalinski.de/typo3/lfeditor/-/blob/master/Classes/Service/ConfigurationService.php#L343