Issue Bug Closed

#87820Logger not instanciated in cache backend

Marco Dinnbier 03/01/19, 17:01 updated 12/23/19, 22:48

Description

The function setLogger is never called in cache backend.
The cache backend is instanciated via ‘new’ and not via GeneralUtility::makeInstance in TYPO3\CMS\Core\Cache\CacheManager::createCache.

This leads to an error, when the logger in cache backend class is needed: ‘Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to a member function alert() on null …’

Reviews 2