Have you ever encoutered this error?
I resolved it with a brutal machine reset and recovery mode boot via grub. When you are there, just type sudo -K in the command line and then reboot again.
That’s it!
If you want to know more about the command you have used, remember to read the “man” pages
