Project

General

Profile

Actions

Bug #72113

closed

Invalid argument warning in backend sysext

Added by A. Sheydin almost 9 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2015-12-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In TYPO3 7.6.0 and tt_products 2.8.1 I got the following PHP Warning:

#1: PHP Warning: Invalid argument supplied for foreach() in /homepages/46/d289040129/htdocs/yellow-head.de/typo3_src-7.6.0/typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php line 194 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/homepages/46/d289040129/htdocs/yellow-head.de/typo3_src-7.6.0/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 111.
[…]


which was fixed by Franz Holzinger, the tt_products author in the backend sysext as follows:

typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php Line 194

if (!empty($possibleRecords)) {
    foreach ($possibleRecords as $possibleRecord) {
        $possibleRecordsUidToTitle[$possibleRecord[1]] = $possibleRecord[0];
    }
}

Please apply in the next release. Thank you.


Files

Actions

Also available in: Atom PDF