Error After Updating some times

Dear All why sometimes after updating some doctype damaged
I have the same problem on another server with a different doctype