Issue Bug Closed

#27196debug_backtrace in getOuterMostInstance

Martin Altmayer 06/03/11, 11:35 updated 10/02/18, 12:20

Description

Hey,

In line 7128 of tcemain.php debug_backtrace is used with an optional parameter. This parameter is only available since PHP 5.2.5. I am using 5.2.4 and this is the reason I get the following errors in the log:

Core: Error handler (BE): PHP Warning: Invalid argument supplied for foreach() in /var/www/typo3_src-4.5.3/t3lib/class.t3lib_tcemain.php line 7130
Core: Error handler (BE): PHP Warning: array_reverse() [function.array-reverse]: The argument should be an array in /var/www/typo3_src-4.5.3/t3lib/class.t3lib_tcemain.php line 7128
Core: Error handler (BE): PHP Warning: Wrong parameter count for debug_backtrace() in /var/www/typo3_src-4.5.3/t3lib/class.t3lib_tcemain.php line 7128

I get these log entries every time I clear the cache since I updated Typo3 from 4.5.0 to 4.5.3.

Thanks,
M. Altmayer

Reviews 0

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