Deprecation: #82438 - Deprecation methods¶
See forge#82438
Description¶
The deprecation log related methods from GeneralUtility along with a related configuration option have been deprecated:
General
Utility:: log Deprecated Function () General
Utility:: deprecation Log () General
Utility:: get Deprecation Log File Name () General
Utility:: log Deprecated View Helper Attribute () $GLOBALS
has no effect anymore['TYPO3_ CONF_ VARS'] ['SYS'] ['enable Deprecation Log']
Deprecations now use PHP method trigger_
and run
through the logging and exception stack of the TYPO3 core. In development context deprecations
are turned into exceptions by default and ignored in production context.
Impact¶
The file typo3conf/
is no longer filled by the core. However, if an
extension still uses methods like General
it is
still filled with these messages, and throws an additional PHP E_USER_DEPRECATED message.
Affected Installations¶
Installations with extensions that use one of the above methods.
Migration¶
Extension authors should switch to trigger_