Issue Bug New Stale

#110044Error reporting with reliance on DI container for log methods is volatile

Benjamin Franzke 06/10/26, 11:59 updated 06/10/26, 12:00

Description

https://forge.typo3.org/issues/110031 showed that the error handler requires services obtained from the DI container.

This has several weaknesses that it it volatile:

  • The service that is needed for logging, might be created at the moment, causing a dependency loop
  • The DI container might not be available yet (during Core/Bootstrap)
  • The actual errors (the once that triggered the error handler) are lost and hard to debug/find

Reviews 0

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

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] Error reporting with reliance on DI container for log methods is volatile Resolves: #110044 Releases: main