Project

General

Profile

Actions

Bug #27196

closed

debug_backtrace in getOuterMostInstance

Added by Martin Altmayer almost 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-06-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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() [<a href='function.array-reverse'>function.array-reverse</a>]: 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


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #27348: Incompatible call to debug_backtrace() prior to PHP 5.3.5ClosedOliver Hader2011-06-10

Actions
Actions #1

Updated by Oliver Hader almost 13 years ago

  • Status changed from New to Resolved
Actions #2

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF