Issue Bug Closed

#109047PHP Warning: Undefined array key 1 in typo3/cms-core/Classes/Upgrades/MigrateExtensionDataImportRegistryKeysUpdate.php line 145

Benoit Chenu 02/20/26, 23:40 updated 04/21/26, 11:30

Description

The upgrade wizard “Migrate extension data import registry keys” can generate this warning :

PHP Warning: Undefined array key 1 in typo3/cms-core/Classes/Upgrades/MigrateExtensionDataImportRegistryKeysUpdate.php line 145

I have in my registry some records without extension key:

select * from sys_registry where entry_namespace = ‘extensionDataImport’ and entry_key not like ‘and entry_key not like ‘%/’ \G;
*************************** 1. row ***************************
uid: 732
entry_namespace: extensionDataImport
entry_key: les_static+adt.sql
entry_value: s:0:”“;
*************************** 2. row ***************************
uid: 681
entry_namespace: extensionDataImport
entry_key: tables_static+adt.sql
entry_value: s:0:”“;
2 rows in set (0.001 sec)

I propose to ignore these records and manage the case to avoid this warning.

Reviews 1

History 48

  1. Benoit Chenu commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-04-14T19:00:09+00:00" > 04/14/26, 19:00 </span>

    Applied in changeset commit:1a749126b87a59aa226d1c20019aa6ad0128c3fc.