Bug #99255
closedrecycler: PHP Warning: Undefined array keys "crdate" and "tstamp"
100%
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
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77562
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77574
Updated by Benni Mack over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7d1db2675c16b10dc13bd811660777550de8c918.