I see this error occasionally when the attribute table I am trying to open has another table joined to it.
I am usually able to fix this by removing the join and creating it again. If that doesn't work, I've also had luck closing the project and opening it again.