sourcebroker / imageopt

TYPO3 extension imageopt. Optimize images resized by TYPO3 so they will take less space, page will be downloaded faster and Google PageSpeed Insights score will get higher.
Other
31 stars 8 forks source link

Errors when processed file is missing #43

Closed akiessling closed 1 year ago

akiessling commented 1 year ago

The scheduler task throws an error when a processed file is missing. This should probably just be ignored since the processed file record is deleted anyways? https://github.com/sourcebroker/imageopt/blob/601e3d30424f8ed957893b8ceaf9f2e22eced322/Classes/Service/OptimizeImagesFalService.php#L134

missing-processed-file

I also get this error in the CliDisplayUtility which stops the execution of the command

[ ErrorReporting\Warning ]       
 Warning: Undefined array key ""

The errors happen in TYPO3 11.5.26 with PHP 8.1 with MySQL 8.0