Bug #85449

Fault in Cachemanager ?

Added by David Bruchmann almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
Start date:
2018-07-02
Due date:
% Done:

0%

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

Description

In the most recent github-version in

TYPO3\CMS\Core\Cache\CacheManager::getCache($identifier)

the follwing variable is empty:
$this->hasCache($identifier)

It blocks the whole system (FE, BE, Installtool), in general I don't know if it's about a fault from my side or about TYPO3.

#1

Updated by Christian Kuhn almost 3 years ago

Can't see an issue in the code: getCache() calls createCache() if the cache in question has not been created yet.

Have a look at your AdditionalConfiguration and ext_localconf & ext_tables files if you somewhere override $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations'] and mix that up by maybe deleting defined caches, not checking for isset() or similar. Screwing up cache definitions in AdditionalConfiguration is a relatively common problem.

#2

Updated by Christian Kuhn almost 3 years ago

  • Status changed from New to Needs Feedback
#3

Updated by David Bruchmann almost 3 years ago

Thanks, issue can be closed.
I got it working even without hacking the core ;-)

#4

Updated by Andreas Fernandez almost 3 years ago

  • Status changed from Needs Feedback to Closed

Also available in: Atom PDF