“/by zero error” occurs in Terrain-correction(EPSG:4326)

Have you tried a different image resampling method?