Project

General

Profile

Actions

Bug #99255

closed

recycler: PHP Warning: Undefined array keys "crdate" and "tstamp"

Added by Tobias Gülzow over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Recycler
Target version:
-
Start date:
2022-12-02
Due date:
% Done:

100%

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

Description

Hi everyone.

I'm not sure if this is the right place to report this.

When using

  1. TYPO3 11.5.19
  2. PHP 8.1.12
  3. EXT:static_infotables
  4. EXT:recycler

You will get the dreaded undefined array key warning for crdate and tstamp when using the backend module of EXT:recycler.
The error is in the ajax request, and not in the backend module itself.

What is happening inside the code:
The problem is, that the table static_countries does not have a crdate or a tstamp .
The RecyclerAjaxController then triggers the warning here:
https://github.com/TYPO3/typo3/blob/v11.5.19/typo3/sysext/recycler/Classes/Controller/RecyclerAjaxController.php#L201
and here:
https://github.com/TYPO3/typo3/blob/v11.5.19/typo3/sysext/recycler/Classes/Controller/RecyclerAjaxController.php#L202

Tobi

Actions

Also available in: Atom PDF