Bug #88775
closedlogger in ApcuBackend is not instantiated
100%
Description
$this->logger in Line 139 is never instantiated and i got this Error in Log:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to a member function alert() on null | Error thrown in file /html/de.frosta.production/public/typo3/sysext/core/Classes/Cache/Backend/ApcuBackend.php in line 139
Updated by Daniel Windloff over 5 years ago
The class \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implements the LoggerAwareInterface and the LoggerAwareTrait.
But caching backend instances are created via "new" and not via GeneralUtility::makeInstance (see CacheManger:329).
So the logger is not set atm. This also affects the RedisBackend and the MemcachedBackend.
Updated by Daniel Windloff over 5 years ago
- Is duplicate of Bug #87820: Logger not instanciated in cache backend added
Updated by Gerrit Code Review over 5 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61472
Updated by Gerrit Code Review over 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61472
Updated by Gerrit Code Review over 5 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61472
Updated by Gerrit Code Review over 5 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61472
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61460
Updated by Anja Leichsenring over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 524b6701fa0e690f5239fefb0024b58f7767cfcd.
Updated by Anja Leichsenring over 5 years ago
- Related to Bug #88938: wrong class statement for logger initialization added
Updated by Benni Mack almost 5 years ago
- Status changed from Resolved to Closed