Project

General

Profile

Actions

Bug #97659

open

Import/Export Uppon Import Preview: ERROR: One of the inputs were not an array!

Added by Lina Wolf over 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Import/Export (T3D)
Target version:
-
Start date:
2022-05-19
Due date:
% Done:

0%

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

Description

After I Import any kind of data and hit the preview button I always get an error in the result column:

ERROR: One of the inputs were not an array!

The Import seems to work without issue however


Files

ImportError.png (12.6 KB) ImportError.png Lina Wolf, 2022-05-19 06:43
error.JPG (93.2 KB) error.JPG Steffi B, 2022-11-28 15:49
T3D_tree_PID2416_L0_2023-10-26_15-09.t3d (3.57 KB) T3D_tree_PID2416_L0_2023-10-26_15-09.t3d Christian Welzel, 2023-10-26 13:13
Actions #1

Updated by Sebastian Gärtner over 2 years ago

Lina Wolf wrote:

After I Import any kind of data and hit the preview button I always get an error in the result column:

[...]

The Import seems to work without issue however

I have the same issue.

Actions #2

Updated by Christian Drost about 2 years ago

I get the same error while importing any usergroup.

TYPO3: 11.5.19
PHP: 8.1

Actions #3

Updated by Steffi B about 2 years ago

Export form 7.6 with different settings, tried to import in 11.5
ERROR: One of the inputs were not an array!

Actions #4

Updated by Tobias Schmidt about 2 years ago

I'm trying to import data from TYPO3 9.5 to 11.5 and I see the same error message in preview window. The actual import doesn't work and stops with the following error message:

503
Oops, an error occurred!

Argument 1 passed to TYPO3\CMS\Impexp\Import::getReferenceDefaultValue() must be of the type array, null given, called in [...]/sysext/impexp/Classes/Import.php on line 1042
Actions #5

Updated by Loek Hilgersom over 1 year ago

The 'ERROR: One of the inputs were not an array!' occurs when you attempt to import something - both preview and real import - and you have:

  • Update records = false
  • Do not show differences in records = false

The import module then tries to show differences, but there are no differences to be shown since your import will create new records. The error disappears when you check 'Do not show differences in records'. It looks like you can ignore this error (although it is definately confusing).

Actions #6

Updated by Benni Mack over 1 year ago

  • Status changed from New to Needs Feedback

I cannot reproduce the issue. Can you tell me what kind of things are you exporting? Or maybe have an example t3d file?

Actions #7

Updated by Christian Welzel about 1 year ago

Same Error here.

Export on 8.7.17, import on 11.5.30/PHP 7.4.20.

Example file is attached.

Actions #8

Updated by Christian Welzel about 1 year ago

Note: The exported page does not exist yet in the new installation.

In this case $databaseRecord is null and the error message gets triggered.

Actions #9

Updated by Benni Mack about 1 year ago

  • Status changed from Needs Feedback to New
Actions

Also available in: Atom PDF