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.