TYPO3 CMS

Oops, an error occurred! Code: XXXX

Ever wondered how to fix this error?

First you have to enable the extbase debugger by adding below line to the setup field of your static template:

config.contentObjectExceptionHandler = 0

After that open the page that raised the error. Now it will reveal the cause.