Search code examples
typo3typo3-9.x

How do I enable Error Reporting in TYPO3?


I have made a contact form but upon submitting it I get the error: Oops, an error occurred! Code: 201905310232036dfcc153.

I would like to get more information so I can start debugging. So my question is: How do I enable error reporting in TYPO3?


Solution

  • You have to add this line in your TypoScript

    config.contentObjectExceptionHandler = 0
    

    After setting to 0, you will see detailed errors in frontend when an exception is thrown.
    To reset it, simply delete the lin or set to 1.

    here is a blog post from me about it (in German): https://www.naderio.de/oops-an-error-occurred-komplette-fehlermeldung-anzeigen/