Project

General

Profile

Actions

Bug #95654

closed

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

Added by Florian Rival over 2 years ago. Updated over 2 years ago.

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


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #95618: Undefined array key warning in PageRenderer - FE exceptionClosed2021-10-13

Actions
Actions #1

Updated by Christian Kuhn over 2 years ago

  • Is duplicate of Bug #95618: Undefined array key warning in PageRenderer - FE exception added
Actions #2

Updated by Christian Kuhn over 2 years ago

  • Status changed from New to Closed

Thanks for the report. I think this case has recently been fixed with #95618.

Actions

Also available in: Atom PDF