Issue Bug Closed

#80811Upgrade Wizard / Execute database migrations on single rows / Migrate values in sys_file_reference crop field / Error when file is missing

Christian Toffolo 04/11/17, 16:31 updated 03/30/25, 10:13

Description

Error when file is missing:
Argument 1 passed to TYPO3\CMS\Core\Imaging\ImageManipulation\Area::makeRelativeBasedOnFile() must implement interface TYPO3\CMS\Core\Resource\FileInterface, null given, called in typo3/sysext/install/Classes/Updates/RowUpdater/ImageCropUpdater.php on line 85

A solution could be to skip if $file is NULL (line #79) in method updateTableRow in
typo3/sysext/install/Classes/Updates/RowUpdater/ImageCropUpdater.php

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 3

  1. Benni Mack changed target version 05/04/17, 17:47

  2. Benni Mack changed target version 04/17/19, 23:41

  3. Georg Ringer commented and changed status New Closed 03/30/25, 10:13

    hey, as the ImageCropUpdater has been removed a long time ago already, I am closing this issue