Project

General

Profile

Actions

Bug #90979

closed

TYPO3 10.3 with typo3/cms-impexp leeds on export to "Invalid argument supplied for foreach()"

Added by Alex Kellner over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Import/Export (T3D)
Target version:
-
Start date:
2020-04-08
Due date:
% Done:

100%

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

Description

PHP Warning: Invalid argument supplied for foreach() in /var/www/html/in2code10.localhost.de/private/typo3/sysext/impexp/Classes/Export.php line 485
Steps:
  • Selecting a page tree with subpages for export
  • Choosing "invinite" for levels
  • Selecting "All" for "Include relations to tables"
  • Click on update
  • Exception comes up

Quick fix for my case in typo3/sysext/impexp/Classes/Export.php:485 typecast $row to array:

foreach ((array)$row as $fieldName => $value) {

Actions #1

Updated by Georg Ringer over 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Georg Ringer
Actions #2

Updated by Gerrit Code Review over 4 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64099

Actions #3

Updated by Georg Ringer over 4 years ago

  • Category set to Import/Export (T3D)
Actions #4

Updated by Georg Ringer over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF