Issue Bug Closed

#90732FileIndexRepository can not be constructed when using the Maintenance->Remove Temporary Assets functionality

Christian Richter 03/11/20, 13:54 updated 03/11/20, 14:03

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!

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.