Hi Ingmar,
That message is saying it can’t find the menu that is being called.
I have no idea how you broke Blender haha.
I have tried to replicate this issue in 2.92, 2.93, and 3.0
I cannot. If you can replicate this on a simple file you will be able to report it as a bug.
Otherwise is it something specific with your file that is causing this bug. (much harder to report)