Project

General

Profile

Actions

Bug #19672

closed

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

Added by Thomas Loeffler over 15 years ago. Updated about 10 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 #1

Updated by Jacco Lammers about 15 years ago

I can confirm this bug
(typo3 4.2.1 and static_info_tables 2.1.0)

Warning: Variable passed to each() is not an array or object in [..]source/typo3_src-4.2.1/t3lib/class.t3lib_tcemain.php on line 5559

Warning: Cannot modify header information - headers already sent by (output started at [..]/source/typo3_src-4.2.1/t3lib/class.t3lib_tcemain.php:5559) in [..]source/typo3_src-4.2.1/typo3/template.php on line 632

This problem occurs only for non-admin users, which I find very strange. Did anyone already manage to solve this problem?

(ps. It seems the same problem was discussed at http://www.typo3forum.net/forum/typo3-4-x-backend/31498-fehlermeldung-benutzer-inhalt-speichern-will.html )

Actions #2

Updated by Alexander Opitz over 10 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #3

Updated by Alexander Opitz about 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF