Bug #90732
closedFileIndexRepository can not be constructed when using the Maintenance->Remove Temporary Assets functionality
0%
Description
Whenever I want to remove temporaray assets with the maintenance tool,
I get the following error message:
(1/1) ArgumentCountError Too few arguments to function TYPO3\CMS\Core\Resource\Index\FileIndexRepository::__construct(), 0 passed in /var/www/html/app/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 3452 and exactly 1 expected
(the whole stacktrace is attached)
There are 4 locations I want to clear:
7 files in /typo3temp/assets/_processed
395 files in /typo3temp/assets/compressed
393 files in /ext_uploads/_processed_/
2111 files in /fileadmin/_processed_/
But all throw the same error!
Then mentioned file(s), that are mentioned via sys_files and references in the errors are present in the filesystem.
So I assume that indeed the construct does not work, since the eventdispatcher seems to be missing or not injected correctly?
I found https://typo3.slack.com/archives/C03AM9R17/p1582399391014600
but couldn't find an existing bugreport considering this topic!
Files
Updated by Andreas Kienast about 5 years ago
- Is duplicate of Bug #89891: Temporary assets can not be removed in install tool, exception occurs added
Updated by Andreas Kienast about 5 years ago
- Status changed from New to Closed
Thank you for your report.
As communicated in Slack, this issue duplicates #89891, thus I'll close this one.
Kind regards
Andreas