Bug #27705
closedHandle missing options definition in caching configuration
0%
Description
Since #27543, caching tables do not need to be defined anymore. This leads to an empty 'options' configuration array in localconf.php. However, trying to remove it altogether leads to a fatal error:
PHP Catchable Fatal Error: Argument 4 passed to t3lib_cache_Factory::create() must be an array, null given, called in /path/to/t3lib/cache/class.t3lib_cache_manager.php on line 252 and defined in /path/to/t3lib/cache/class.t3lib_cache_factory.php line 83 (More information)
Proposal:
Check that $backendOptions is really an array (and not NULL) in t3lib_cache_Manager::createCache() and if NULL, change it to an empty array.
Updated by Christian Kuhn over 13 years ago
Xavier, I think this was already handled with #27689, see manager test "getCacheCreatesCacheInstanceWithFallbackToDefaultBackenOptions()"
Did I miss something?
Updated by Xavier Perseguers over 13 years ago
- Status changed from New to Closed
Well, you're right. Seems like I missed this recent update.