TimeTracker: hierarchy handling broken / PHP8.1 errors.
Opening the admin panel with PHP8.1 results in array access related errors. The main error comes from the broken hierarchy creation that has been introduced in https://review.typo3.org/c/Packages/TYPO3.CMS/+/72602 (it worked before by chance as PHP created an array on the fly).
The other errors are mainly related to times handled as int and formatted as string.
How to reproduce:
- Use PHP 8.1
- Open the admin panel
To get all related errors: open settings of the TS Tree module and check/uncheck the options