Consistent error: "Not yet set"
Almost every time I turn my MacBook off and then power it on again, I get a warning error saying "Your computer was restarted because of a problem." The error report then says "not yet set".
I can confirm that I do not turn off my laptop using the power button - I click the Apple icon in the top left corner of my screen and then click "Shut Down". In other words, this is happening on ordinary shutdowns, not forced shutdowns.
An additional unexpected behaviour is that, after shutting down, my laptop acts as if it were just in sleep mode. I.e. if I open the laptop, or press any key, it immediately boots up. I don't have to press the power button to turn the laptop on.
I have a 2020 13inch MacBook Pro with Intel processor.
MacBook Pro 13″, macOS 11.5