I restart my nodl today and it's working without the error also it is very fast compare to before were it was taking a few seconds to load the history of my wallet.
But i really don't know why i got the error and how to prevent it from happenig again.