TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #22152
Issue Bug Closed

#221524.4: PHP warning "Invalid argument supplied for foreach()" in list module

Franz Holzinger 02/22/10, 10:40 updated 10/02/18, 12:25

Open in Forge Comment in Forge

Description

If I call the list module, then I get:

PHP Warning: Invalid argument supplied for foreach() in /var/www/html/trunk/typo3/class.db_list.inc line 739

This happens because $TCA[static_template][‘columns’] is null.

(issue imported from #M13602)

Reviews 4

  • TYPO3_4-7 9470[BUGFIX] PHP warnings may show up in the List module Resolves this issue Merged Steffen Ritter CR +2 V +2 → 4.7, 4.6, 4.5 22152 Normal +47 −39 06/03/13, 20:49
  • main 6893[BUGFIX] PHP warnings may show up in the List module Resolves this issue Merged Dmitry Dulepov CR +2 V +2 → 4.7, 4.6, 4.5 22152 Normal +47 −39 06/03/13, 20:49
  • TYPO3_4-5 12824[BUGFIX] PHP warnings may show up in the List module Resolves this issue Merged Mario Rimann CR +2 V +2 → 4.7, 4.6, 4.5 22152 Normal +48 −31 06/03/13, 20:49
  • TYPO3_4-6 12821[BUGFIX] PHP warnings may show up in the List module Resolves this issue Merged Mario Rimann CR +2 V +2 → 4.7, 4.6, 4.5 22152 Normal +47 −39 06/03/13, 20:49

Related issues 1

  • Bug #17961Missing TCA[table][columns] leads to PHP warning Related to Closed Backend User Interface v4.2 Franz Holzinger 12/31/07, 14:09
Assigned to
Benni Mack
Author
Franz Holzinger
Priority
Should have
TYPO3 version
4.4
PHP version
5.3
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback