Issue Bug Closed

#21812Catchable fatal error in indexed_search

Dmitry Dulepov 12/07/09, 10:29 updated 07/02/10, 11:17

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.