Project

General

Profile

Actions

Bug #105315

closed

LatestChangedPagesWidget crashes on deleted content element

Added by André Buchmann about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Should have
Category:
-
Target version:
Start date:
2024-10-15
Due date:
% Done:

100%

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

Description

Using the new Dasboard widget "LatestChangedPagesWidget" I get loading errors.

A tt_content element is in sys_history, but has been deleted and recycler cleared.

Core: Exception handler (WEB): Uncaught TYPO3 Exception: TYPO3\CMS\Dashboard\Widgets\LatestChangedPagesWidget::getPageOfContentElement(): Return value must be of type int, null returned | TypeError thrown in file /var/www/html/vendor/typo3/cms-dashboard/Classes/Widgets/LatestChangedPagesWidget.php in line 199. Requested URL: https://surfcamp-team6.ddev.site/typo3/ajax/dashboard/widget/content?token=--AnonymizedToken--&widget=latestChangedPages    
13:39:52    

Core: Error handler (BE): PHP Warning: Trying to access array offset on false in /var/www/html/vendor/typo3/cms-dashboard/Classes/Widgets/LatestChangedPagesWidget.php line 199    
13:39:52    

Core: Error handler (BE): PHP Warning: Trying to access array offset on false in /var/www/html/vendor/typo3/cms-dashboard/Classes/Widgets/LatestChangedPagesWidget.php line 195
Actions

Also available in: Atom PDF