[TYPO3-bugs] bug #3565 is still valid

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Fri Mar 21 23:41:41 CET 2008


Franz Holzinger schrieb:
> Hello,
> 
> the already closed bug #3565 is still present in the current TYPO3 4.2 beta.
> The list module of the current DAM extension ends up in a
> 
> Catchable fatal error: Argument 1 passed to
> t3lib_div::arrayToLogString() must be an array, null given, called in
> /var/www/html/typo3_src-4.2.0beta2a/t3lib/class.t3lib_modsettings.php on
> line 369 and defined in
> /var/www/html/typo3_src-4.2.0beta2a/t3lib/class.t3lib_div.php on line 4796
> 
> 
> reason is the wrongly empty string used as the first parameter:
> 
> if ($this->writeDevLog) t3lib_div::devLog('Store command:
> '.t3lib_div::arrayToLogString($storeControl), 't3lib_modSettings', 0)
> $storeControl = NULL
> 
> So nothing works with this DAM module if you activate logging.

The mentioned bug has IMHO nothing to do with the described problem. The 
bug is about "empty array" vs "array with one item, an empty string". 
Your problem is triggered by the type hinting that was added to 
t3lib_div::arrayToLogString().

You mean #7793 which has been fixed in the meantime.

Masi


More information about the TYPO3-team-bugs mailing list