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.
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)
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 )
- 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)?
- 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.
Also available in: Atom
PDF