Issue Bug Closed

#95654Error with concatenateJs : PHP Warning: Undefined array key "defer" in PageRenderer.php

Florian Rival 10/14/21, 16:02 updated 10/20/21, 02:57

Description

When trying to display the frontend, I have this message :

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Undefined array key "defer" in /XXX/public_html/typo3/sysext/core/Classes/Page/PageRenderer.php line 2213

It appears because of JS concatenation, if I disabled JS concatenation, the problem disappeared :

config.concatenateJs = 0

The keys ‘defer’, ‘nomodule’, ‘integrity’, etc. are not present when jS are concatenated.

Reviews 0

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