'Typo3 10.4 Clear cache in Backend throws error: "An error occurred while cleaning the cache" - how to debug?

Clear cache in BE throws error: "An error occurred while cleaning the cache". I get no error in the logs, neither in Typo3 BE nor on server side - how can I debug this?

In the maintenance tools I already:

  • Flushed TYPO3 and PHP Cache
  • Analyzed Database Structure
  • Removed Temporary Assets
  • Clear Persistent Database Tables

I deleted manually all files and folders in typo3temp/var/cache/code and typo3temp/var/cache/data. Also updated reference index. Still same error:

screenshot of error message when trying to clean cashes via Typo3 BE

Version: Typo3 10.4.20 PHP Version 7.4.25



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source