I was having this error message after recently upgrading to a new phone. I was only able to stop it by going into the keyboard settings and disabling the grammar check. It's not an ideal solution, but at least the message isn't constantly popping up anymore and I can edit in peace.