[TYPO3-core] FYI24: #12958: Catchable fatal error in indexed_search
Dmitry Dulepov
dmitry.dulepov at gmail.com
Mon Dec 7 10:35:04 CET 2009
Hi!
This is SVN patch request.
Type: bug
Branches: 4.2, 4.3, trunk
Bug tracker reference: http://bugs.typo3.org/view.php?id=12958
Problem:
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.
Solution:
Create the array if it does not exist and indicate to the user that there was a error.
--
Dmitry Dulepov
"Trust me, I am a doctor!" (c) Gregory House, M.D.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 12958.diff
Type: application/pgp-keys
Size: 1340 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091207/447358b2/attachment.key>
More information about the TYPO3-team-core
mailing list