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 about 4 years ago. Updated about 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

Also available in: Atom PDF