Actions
Bug #27705
closedHandle missing options definition in caching configuration
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2011-06-26
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
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.
Actions