Actions
Bug #90979
closedTYPO3 10.3 with typo3/cms-impexp leeds on export to "Invalid argument supplied for foreach()"
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 485Steps:
- 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