Project

General

Profile

Actions

Bug #95638

closed

bin/typo3 cache:flush uses CacheManager during TCA loading

Added by Benjamin Franzke over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Category:
CLI
Start date:
2021-10-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

With

$GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandler'] = '';

bin/typo3 cache:flush

produces:

PHP Deprecated:  TYPO3\CMS\Core\Cache\CacheManager can not be injected/instantiated during ext_localconf.php/TCA/ext_tables.php loading. Use lazy loading instead. in /var/www/local/coremaster/public/typo3/sysext/core/Classes/ServiceProvider.php on line 117

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #94979: Deprecate usage of cache and DB connection early in bootstrapClosedBenni Mack2021-08-24

Actions
Actions

Also available in: Atom PDF