femanager
femanager copied to clipboard
Using images in Edit not working on php 8.1
When using the image field for fe_users, accessing the Edit form produces the following error message:
(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Undefined array key "uid_local:type" in /typo3_src-11.5.23/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php line 123
at TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper->getTargetType('TYPO3\\CMS\\Extbase\\Domain\\Model\\FileReference', array('uid' => 1456, 'pid' => 56, 'tstamp' => 1681384525, 'crdate' => 1681384519, 'cruser_id' => 2, 'deleted' => 0, 'hidden' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_state' => null, 'l10n_diffsource' => '{"hidden":""}', 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 'uid_local' => 89, 'uid_foreign' => 1, 'tablenames' => 'fe_users', 'fieldname' => 'image', 'sorting_foreign' => 1, 'table_local' => 'sys_file', 'title' => null, 'description' => null, 'alternative' => null, 'link' => '', 'crop' => '', 'autoplay' => 0, 'showinpreview' => 0))
in /typo3_src-11.5.23/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php line 104
The image was added via TYPO3 backend.