The largest solar flare since 2017 has been spotted erupting from the Sun’s surface.