#95469Revert #95066
Description
The proposed and merged solution of #95066 has some undetected flaws:
- array unpacking fails if the array is associative (happens with SU mode, see https://github.com/TYPO3/typo3/blob/master/typo3/sysext/core/Classes/Error/ErrorHandler.php#L254)
- assumes all required arguments for sprintf() are available
Since both cases cannot be solved in a clean way it’s better to revert the original patch and fix only the original issue.