error message applied to edit post