Oops, an error occured

Some times you will get a prompt like:

  • Oops, an error occurred! Code: 2017070807364223a7bd4d

Problem

Prompt hasn't helpful information

Solution

TypoScript

Disable the content-object-exception-handler. Now you should get a proper error prompt in the frontend.

Setup

config {
        contentObjectExceptionHandler = 0
}

SYS

Try, to disable the TYPO3 exception handlers in general:

  • System > Install

  • All Configuration

Filter by: exceptionhandler

Set empty values:

  • [SYS][productionExceptionHandler] =

  • [SYS][debugExceptionHandler] =

Sometimes the disabling of exceptionhandling doesn't work :( I don't know why :(

After debugging set exception handling to the default values:

  • [SYS][productionExceptionHandler] = TYPO3\CMS\Core\Error\ProductionExceptionHandler

  • [SYS][debugExceptionHandler] = TYPO3\CMS\Core\Error\DebugExceptionHandler

  • [SYS][errorHandler] = TYPO3\CMS\Core\Error\ErrorHandler