Bug #22152
closed4.4: PHP warning "Invalid argument supplied for foreach()" in list module
100%
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)
Files
Updated by Benni Mack over 14 years ago
Hey Franz.
Can you please send your patch to the core list?
Thanks!
Updated by Dmitry Dulepov almost 13 years ago
- Target version deleted (
0)
The patch is incorrect because colums are loaded with loadTCA call, which is after the check. After the patch, the code will work only for tables, where loadTCA was already called.
Updated by Mr. Jenkins almost 13 years ago
- Status changed from Accepted to Under Review
Patch set 1 of change I8b4663ba81f039d4ea416100dc8f2b8e4658cf35 has been pushed to the review server.
It is available at http://review.typo3.org/6893
Updated by Gerrit Code Review almost 13 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6893
Updated by Stefan Neufeind almost 13 years ago
Issues 17961 and 22152 touch (and fix) the same thing - doing it slightly different, but the same thing. Please merge :-)
Updated by Gerrit Code Review almost 13 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6893
Updated by Dmitry Dulepov over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4e4f41de986afb52385b28c0f9155da7e65ade12.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/9470
Updated by Dmitry Dulepov over 12 years ago
- Status changed from Under Review to Resolved
Applied in changeset f935346c80e962152b8be3cabe3181d21241fd4b.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/12821
Updated by Gerrit Code Review over 12 years ago
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/12824
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/12824
Updated by Dmitry Dulepov over 12 years ago
- Status changed from Under Review to Resolved
Applied in changeset 35045a39b1c4f2bfb0648d02e26151c2a764886e.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/13675
Updated by Helmut Hummel over 12 years ago
- Status changed from Under Review to Resolved