Actions
Bug #21812
closedCatchable fatal error in indexed_search
Start date:
2009-12-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When navigating to Web>Info>Indexed search, a catchable fatal error may happen. Here is exact error message:
Catchable fatal error: Argument 2 passed to t3lib_div::implodeArrayForUrl() must be an array, boolean given, called in /var/www/typo3/sysext/indexed_search/modfunc1/class.tx_indexedsearch_modfunc1.php on line 452 and defined in /var/www/t3lib/class.t3lib_div.php on line 1748
The cause is that the file unserializes the value, than checks if it is an array in one place but misses this check in another.
The attached patch solves the problem by creating an array with a "Error!" for cHash if it cannot be unserialized.
(issue imported from #M12958)
Files
No data to display
Actions