Project

General

Profile

Actions

Bug #98959

closed

Undefined array key "NEW_1" when adding (drag n drop) a new page

Added by Alex Kellner about 2 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-10-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

TYPO3 11.5.17, PHP 8.1.11

When adding a new page in the page tree as an admin, the page cannot be added. The error in the browser console is:

PHP Warning: Undefined array key "NEW_1" in /app/app/private/typo3/sysext/frontend/Classes/Hooks/TreelistCacheUpdateHooks.php line 81

This information sound a bit less to me, but I'm not sure what information is still missing here. Ping me, if I should provide more.


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #100828: Undefined array key error when inserting a page after copyingClosed2023-05-08

Actions
Actions #1

Updated by Christian Wolfram almost 2 years ago

Same issue with TYPO3 11.5.21, PHP 8.1.2

This problem also occurs with existing pages that are to be translated into another language.

Actions #2

Updated by Alex Kellner almost 2 years ago

Different project, same problem with TYPO3 11.5.22

I debugged and checked log and stumbled over the message:

Field pages.anyfield doesn't have a default value

Because anyfield was added from me, I just added a default value in TCA and the error is gone.

Actions #3

Updated by Christian Wolfram over 1 year ago

@Alex Kellner thx for the hint with "field doesn't have a default value". In my case I have a field of type "group" with select of table "tt_address", without a configured default value in TCA. If I add "default => ''", the issue is fixed.

From my point of view the problem is solved and the ticket can be closed.

Actions #4

Updated by Riccardo De Contardi 10 months ago

  • Status changed from New to Closed

I close this issue in agreement with the reporter.

If you think that this is the wrong decision or experience the issue again please reopen it or open a new issue with a reference to this one.

Thank you.

Actions #5

Updated by Georg Ringer 6 months ago

  • Related to Bug #100828: Undefined array key error when inserting a page after copying added
Actions

Also available in: Atom PDF