Showing results for 
Search instead for 
Did you mean: 

ImageResizeCommand error

ImageResizeCommand error


I am working on an upgrade from 2.3.1 to 2.3.4. When I moved the upgraded branch to staging, I noticed my product images were no longer showing. I went to run the image resize command, but I am getting this error.


bin/magento catalog:images:resize
Warning: Illegal string offset 'error' in vendor/magento/module-media-storage/Console/Command/ImagesResizeCommand.php on line 100


Any ideas on what I should be looking for to troubleshoot would be appreciated. Thank you!


Re: ImageResizeCommand error

Hi @andrewgradish 


Which php version you are using?

Re: ImageResizeCommand error

Hi @Vimal Kumar ,

The environment is using PHP 7.3.13.