Actions
Bug #95654
closedError with concatenateJs : PHP Warning: Undefined array key "defer" in PageRenderer.php
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2021-10-14
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
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.
Files
Updated by Christian Kuhn about 3 years ago
- Is duplicate of Bug #95618: Undefined array key warning in PageRenderer - FE exception added
Updated by Christian Kuhn about 3 years ago
- Status changed from New to Closed
Thanks for the report. I think this case has recently been fixed with #95618.
Actions