Project

General

Profile

Actions

Bug #19672

closed

TCEmain function getExcludeListArray produces error if table in TCA with no "columns"

Added by Thomas Loeffler almost 16 years ago. Updated almost 11 years ago.

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

0%

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

Description

The file class.t3lib_tcemain.php produces this error:
Warning: Variable passed to each() is not an array or object in xxx/typo3_src-4.2.3/t3lib/class.t3lib_tcemain.php on line 5561

The reason for this error is the table "static_taxes" from the extension static_info_tables in version 2.1.0, which has no array part with the key "columns". It only has the configuration $TCA['static_taxes']['ctrl']['hideTable']=1.

There is no condition to check if the array "columns" exists.

(issue imported from #M9883)

Actions

Also available in: Atom PDF