How do I restore the comment body field I deleted from a content type? I deleted the comment body from the content type settings, and replaced it with  another field. When posting comments, I get this error:


  Notice: Undefined property: stdClass::$comment_body in function comment_submit() (line 2201 in file /modules/comment/comment.module).


Can this error be avoided?

It was needed to delete the field comment_body becase field permissions are inherited for all the content types and that is why another field was created and this one was deleted.
Create a random content type
Restore the comment_body field from existing field`s, because it's existing now
Delete the random content type