Project

General

Profile

Actions

Bug #19087

closed

PHP-Error in class.em_index.php on line 4333

Added by Stefan Geith over 16 years ago. Updated over 14 years ago.

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

0%

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

Description

I created an Extension with Kickstarter.
After writing the files, I got the Error-Message:

Warning: Invalid argument supplied for foreach() in /var/kunden/webs/geithman/typo3_src-4.3/typo3/mod/tools/em/class.em_index.php on line 4333

I created a patch, that checks if argument is an array.
(issue imported from #M8944)


Files

8944-em_index_l4333.patch (669 Bytes) 8944-em_index_l4333.patch Administrator Admin, 2008-07-11 11:21
0008944-em_index-V2.patch (612 Bytes) 0008944-em_index-V2.patch Administrator Admin, 2008-09-15 17:41
Actions #1

Updated by Oliver Hader over 16 years ago

Okay, the part you mentioned just resends the CMD array. Looks good so far.

Actions #2

Updated by Stefan Geith about 16 years ago

New Version of patch: check when $this->CMD is read from GP

Actions #3

Updated by Oliver Hader almost 16 years ago

Fixed also in TYPO3 4.2.4 and 4.3-alpha2

Actions #4

Updated by Stefan Geith almost 16 years ago

Even though there was a patch for this issue, this Error is back again: Now in Line 4348 of Revision 5014.
I will check this and provide a patch.

Actions #5

Updated by Chris topher over 14 years ago

Closed as requested by reporter:
http://lists.typo3.org/pipermail/typo3-team-bugs/2010-July/000776.html

No longer reproducable; fixed.

Actions

Also available in: Atom PDF