Actions
Bug #99255
closedrecycler: PHP Warning: Undefined array keys "crdate" and "tstamp"
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
- TYPO3 11.5.19
- PHP 8.1.12
- EXT:static_infotables
- 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