Basically, the stat failed issue means that the app tried to calculate the filesize of one of your pictures, but the file was unreachable by the app
Yet another reason why filesize() could fail. That is, other plugins could change $file before WordPress does.
In this case, I would suggest you deactivate other plugins temporary then check and let us know if the problem still happens