Issue Bug Closed

#96449Exception with Adminpanel activated

Sybille Peters 01/02/22, 14:56 updated 10/04/22, 14:14

Description

Can be reproduced with latest “main” branch (12-dev).

1/1) TypeError
TYPO3\CMS\Core\TimeTracker\TimeTracker::fixContent(): Argument #1 ($arr) must be of type array, null given, called in /var/www/html/typo3/sysext/core/Classes/TimeTracker/TimeTracker.php on line 328

in /var/www/html/typo3/sysext/core/Classes/TimeTracker/TimeTracker.php line 437
     * @param string $depthData Prefixed icons for new PM icons
     * @param string $vKey Seems to be the previous tsStackLog key
     * @return string Returns the $content string generated/modified. Also the $arr array is modified!
     */
    protected function fixContent(array &$arr, string $content, string $depthData = '', string $vKey = ''): string
    {
        $entriesCount = 0;
        $c = 0;
        // First, find number of entries

Reproduce

1. Created new installation following instructions https://docs.typo3.org/m/typo3/guide-contributionworkflow/main/en-us/Appendix/SettingUpTypo3Ddev.html (with PHP 8.0)
2. Created empty root page page with default TypoScript (Hello World)

# Default PAGE object:
page = PAGE
page.10 = TEXT
page.10.value = HELLO WORLD!

3. Enable adminpanel

config.admPanel = 1 

4. Load page in frontend

5. Activate adminpanel on bottom right

Exception occurs

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.