Breaking: #82162 - Global error constants removed

See Issue #82162

Description

Three error and logging related constants are no longer defined during TYPO3 core bootstrap:

  • TYPO3_DLOG
  • TYPO3_ERROR_DLOG
  • TYPO3_EXCEPTION_DLOG

Two error and logging related keys have been removed from TYPO3_CONF_VARS:

  • $GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_errorDLOG']
  • $GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_exceptionDLOG']

Impact

Accessing one of the constants in PHP will return the constants name as value which is different to the former value and most likely breaks code depending on it.

Affected Installations

The extension scanner of the install tool finds extensions affected by this change. The install tool will automatically remove the LocalConfiguration.php settings TYPO3_CONF_VARS if used.

Migration

Refactor code to not depend on these constants and TYPO3_CONF_VARS any longer, there shouldn’t be many use cases where extensions used these.